From 538b15b254c123e37c91a7fcd32fc41adeb3c611 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 5 Sep 2023 14:21:46 +0300 Subject: 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 --- gn/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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))))) -- cgit v1.2.3