diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-27 18:42:28 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-27 23:25:47 +0100 |
| commit | 0c2c5fc8cf5a61f648ff150fc73a52fab547da27 (patch) | |
| tree | 8add15b97f0b44dc9c6b2596b57e25f7c3873fdf /gnu/packages | |
| parent | fdf06879c760b6c99cae2cf5d8504d7dc6c2d254 (diff) | |
gnu: python-pycountry-20.7.3: Switch to git source.
* gnu/packages/iso-codes.scm (python-pycountry-20.7.3): Hide package.
[source]: Switch to git-fetch.
[native-inputs]: Replace inherited python-poetry-core by
python-setuptools.
Change-Id: Ie8832b0dddb3f83d14ea43bf80585aa8fa6739d1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/iso-codes.scm | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm index 7c032ae3b65..000ea057b30 100644 --- a/gnu/packages/iso-codes.scm +++ b/gnu/packages/iso-codes.scm @@ -26,7 +26,6 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) - #:use-module (guix build-system python) #:use-module (guix build-system pyproject) #:use-module (gnu packages check) #:use-module (gnu packages gettext) @@ -243,13 +242,18 @@ concerned with representation of names for languages and language groups.") (license license:lgpl2.1+))) (define-public python-pycountry-20.7.3 - (package - (inherit python-pycountry) - (name "python-pycountry") - (version "20.7.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pycountry" version)) - (sha256 - (base32 "0hnbabsmqimx5hqh0jbd2f64i8fhzhhbrvid57048hs5sd9ll241")))))) + (hidden-package + (package + (inherit python-pycountry) + (name "python-pycountry") + (version "20.7.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pycountry/pycountry") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1aqzbdqvy3pg0x33ay099vriazs28v6kw7fwc8ajg3avdcws2mgm")))) + (native-inputs (list python-pytest python-pytest-cov python-setuptools))))) |
