mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-lockfile Use 'python2-variant'.
* gnu/packages/python.scm (python-lockfile): Use 'python2-variant'. [properties]: New field. (python2-lockfile): Use 'strip-python2-variant'.
This commit is contained in:
parent
1ef09c0c75
commit
1804527ab0
1 changed files with 5 additions and 2 deletions
|
@ -728,10 +728,13 @@ concepts.")
|
|||
(description
|
||||
"The lockfile package exports a LockFile class which provides a simple
|
||||
API for locking files.")
|
||||
(license license:expat)))
|
||||
(license license:expat)
|
||||
(properties `((python2-variant . ,(delay python2-lockfile))))))
|
||||
|
||||
(define-public python2-lockfile
|
||||
(package-with-python2 python-lockfile))
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-lockfile))))
|
||||
(package
|
||||
(inherit base))))
|
||||
|
||||
(define-public python-mock
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue