aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-09-05 14:21:46 +0300
committerMunyoki Kilyungi2023-09-05 14:24:18 +0300
commit538b15b254c123e37c91a7fcd32fc41adeb3c611 (patch)
treecbde14fc764e80e701046ee556de3416fa07c567
parent543a0d0afd5205c839c79c27d57b4b43c9742387 (diff)
downloadguix-bioinformatics-538b15b254c123e37c91a7fcd32fc41adeb3c611.tar.gz
gn: python: Add yoyo-migrations-8.2.0
* gn/packages/python.scm: Import (gnu packages databases) and (guix hg-download). (yoyo-migrations-8.2.0): New package. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--gn/packages/python.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 510546d..adfc2f4 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -3,6 +3,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages icu4c)
@@ -32,6 +33,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix hg-download)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix build-system python)
@@ -1878,3 +1880,23 @@ complete wrapping of the HDF5 API, while the high-level component supports
access to HDF5 files, datasets and groups using established Python and NumPy
concepts.")
(license license:bsd-3)))
+
+(define-public yoyo-migrations-8.2.0
+ (package
+ (inherit yoyo-migrations)
+ (name "yoyo-migrations")
+ (version "8.2.0")
+ (source
+ (origin
+ ;; We use the upstream repository, as the tests are not included in the
+ ;; PyPI releases.
+ (method hg-fetch)
+ (uri (hg-reference
+ (url "https://hg.sr.ht/~olly/yoyo")
+ (changeset (string-append "v" version "-release"))))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "1al030ix0w63hr4s3mqry6s0mlqdj8p242pdqks06br7c25nx3yj"))))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs yoyo-migrations)
+ (append python-importlib-metadata)))))