mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python2-importlib-resources.
* gnu/packages/python-xyz.scm (python2-importlib-resources): New public variable.
This commit is contained in:
parent
8f137daf8a
commit
fd5c264ad8
1 changed files with 26 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
||||||
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
|
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
|
||||||
;;; Copyright © 2016 David Craven <david@craven.ch>
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
||||||
;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2016, 2017 Stefan Reichör <stefan@xsteve.at>
|
;;; Copyright © 2016, 2017 Stefan Reichör <stefan@xsteve.at>
|
||||||
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
|
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
|
||||||
;;; Copyright © 2016, 2017, 2019 Alex Vong <alexvong1995@gmail.com>
|
;;; Copyright © 2016, 2017, 2019 Alex Vong <alexvong1995@gmail.com>
|
||||||
|
@ -4958,6 +4958,31 @@ all the newest features of the standard @code{pathlib} can be used also on
|
||||||
older Python versions.")
|
older Python versions.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python2-importlib-resources
|
||||||
|
(package
|
||||||
|
(name "python2-importlib-resources")
|
||||||
|
(version "1.0.2")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "importlib_resources" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0y3hg12iby1qyaspnbisz4s4vxax7syikk3skznwqizqyv89y9yk"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:python ,python-2))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-wheel" ,python2-wheel)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-pathlib2" ,python2-pathlib2)
|
||||||
|
("python-typing" ,python2-typing)))
|
||||||
|
(home-page "https://gitlab.com/python-devs/importlib_resources")
|
||||||
|
(synopsis "Backport of @code{importlib.resources} from Python 3.7")
|
||||||
|
(description
|
||||||
|
"This package provides an implementation of @code{importlib.resources}
|
||||||
|
for older versions of Python.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public python-importlib-metadata
|
(define-public python-importlib-metadata
|
||||||
(package
|
(package
|
||||||
(name "python-importlib-metadata")
|
(name "python-importlib-metadata")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue