mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-schedule: Adjust for newer python.
* gnu/packages/python-xyz.scm (python-schedule)[source]: Add snippet to adjust python imports. Change-Id: I8ef362bd35d3d1a2634a16ee4bf790b7da8263c0
This commit is contained in:
parent
7b4623b44b
commit
f2561811fb
1 changed files with 6 additions and 1 deletions
|
@ -3675,7 +3675,12 @@ in the current session, Python, and the OS.")
|
||||||
(uri (pypi-uri "schedule" version))
|
(uri (pypi-uri "schedule" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0vplyjcbfrq50sphlwya749z8p2pcyi2nycw3518i0qpd9a6189i"))))
|
"0vplyjcbfrq50sphlwya749z8p2pcyi2nycw3518i0qpd9a6189i"))
|
||||||
|
(snippet
|
||||||
|
#~(begin (use-modules (guix build utils))
|
||||||
|
(substitute* "schedule/__init__.py"
|
||||||
|
(("collections\\.Hashable")
|
||||||
|
"collections.abc.Hashable"))))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest python-mock))
|
(list python-pytest python-mock))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue