gnu: snakemake: Update to 5.32.2.

* gnu/packages/python-xyz.scm (snakemake): Update to 5.32.2.
[arguments]: Adjust patch in call-wrapper-not-wrapped-snakemake.
This commit is contained in:
Ricardo Wurmus 2021-03-12 12:58:28 +01:00
parent 825cc7e0d4
commit ddc1cddded
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -7942,13 +7942,13 @@ Python.")
(define-public snakemake (define-public snakemake
(package (package
(name "snakemake") (name "snakemake")
(version "5.7.1") (version "5.32.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "snakemake" version)) (uri (pypi-uri "snakemake" version))
(sha256 (sha256
(base32 "1pnpvvn8n2a78cg360wz3ldmpqrsm2wzi0c0dmvki9fnsw6fxdas")))) (base32 "13013gdavwvyj1qr9xfi9fpwhb3km8c3z53bja5b7ic3sb2z6dgz"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
;; TODO: Package missing test dependencies. ;; TODO: Package missing test dependencies.
@ -7960,7 +7960,7 @@ Python.")
;; this by calling the snakemake wrapper instead. ;; this by calling the snakemake wrapper instead.
(add-after 'unpack 'call-wrapper-not-wrapped-snakemake (add-after 'unpack 'call-wrapper-not-wrapped-snakemake
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(substitute* "snakemake/executors.py" (substitute* "snakemake/executors/__init__.py"
(("\\{sys.executable\\} -m snakemake") (("\\{sys.executable\\} -m snakemake")
(string-append (assoc-ref outputs "out") (string-append (assoc-ref outputs "out")
"/bin/snakemake"))) "/bin/snakemake")))