diff options
author | Xinglu Chen <public@yoctocell.xyz> | 2021-10-09 12:21:15 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-10-15 23:16:28 +0200 |
commit | 50d2900e7621aed7aea99884b6d9b41c389167d9 (patch) | |
tree | 9e33fc197bd9efeb3e02863c61cdde0c37a6be51 | |
parent | 498cd9bcdbab2edacff9459d2c45d7631d9fb2d5 (diff) | |
download | guix-50d2900e7621aed7aea99884b6d9b41c389167d9.tar guix-50d2900e7621aed7aea99884b6d9b41c389167d9.tar.gz |
import: pypi: Support 'input-changes'.
* guix/import/pypi.scm (latest-release): Specify the ‘input-changes’ field.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | guix/import/pypi.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index b7859c8341..56854ff96c 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 David Thompson <davet@gnu.org> ;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com> -;;; Copyright © 2015, 2016, 2017, 2019, 2020 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2015, 2016, 2017, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com> @@ -540,9 +540,12 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and LICENSE." (url (distribution-url (latest-source-release pypi-package)))) (upstream-source + (urls (list url)) + (input-changes + (changed-inputs package + (pypi->guix-package pypi-name))) (package (package-name package)) - (version version) - (urls (list url)))))))) + (version version))))))) (define %pypi-updater (upstream-updater |