gnu: Add python-virtualenv-clone.

* gnu/packages/python-xyz.scm (python-virtualenv-clone): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Steve George 2023-01-11 22:39:29 +00:00 committed by Christopher Baines
parent a558998f7d
commit fc36ea0a0a
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -4277,6 +4277,40 @@ (define-public python-crossenv
work on your part.")
(license license:expat)))
(define-public python-virtualenv-clone
(package
(name "python-virtualenv-clone")
(version "0.5.7")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/edwardgeorge/virtualenv-clone")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0p0d1y3axvjfnxlgwjx2374gikc8bmc82g0m7yashihbikh7pcxa"))))
(build-system python-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(delete-file "tox.ini")
(invoke "pytest" "-vvv" "tests")))))))
(native-inputs (list python-pytest
python-tox
python-virtualenv
python-coverage
python-wheel
python-tomli
python-hypothesis))
(home-page "https://github.com/edwardgeorge/virtualenv-clone")
(synopsis "Clone a non-relocatable virtualenv cleanly")
(description
"Clone non-relocatable virtualenvs without breaking site-packages.")
(license license:expat)))
(define-public python-uc-micro-py
(package
(name "python-uc-micro-py")