mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-dotenv-0.13.0.
Old version just for docker-compose until it is updated. Fixes build for docker-compose * gnu/packages/docker.scm (python-dotenv-0.13.0): New variable. (docker-compose)[inputs]: Use it instead of python-dotenv. Change-Id: I8efc30ad7d40601bb5ad88e7c56484edb36e328e
This commit is contained in:
parent
3b55a14377
commit
da04b3bb42
2 changed files with 30 additions and 1 deletions
|
@ -211,7 +211,7 @@ client.")
|
||||||
python-docker-5
|
python-docker-5
|
||||||
python-dockerpty
|
python-dockerpty
|
||||||
python-docopt
|
python-docopt
|
||||||
python-dotenv
|
python-dotenv-0.13.0
|
||||||
python-jsonschema-3
|
python-jsonschema-3
|
||||||
python-pyyaml
|
python-pyyaml
|
||||||
python-requests
|
python-requests
|
||||||
|
|
|
@ -36908,6 +36908,35 @@ systems in Python.")
|
||||||
key-value pairs from a @code{.env} file and set them as environment variables.")
|
key-value pairs from a @code{.env} file and set them as environment variables.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
;; Old version just for docker-compose; remove once that is updated.
|
||||||
|
(define-public python-dotenv-0.13.0
|
||||||
|
(package (inherit python-dotenv)
|
||||||
|
(name "python-dotenv")
|
||||||
|
(version "0.13.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "python-dotenv" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0x5dagmfn31phrbxlwacw3s4w5vibv8fxqc62nqcdvdhjsy0k69v"))))
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
(setenv "PATH" (string-append (getenv "PATH") ":"
|
||||||
|
(assoc-ref outputs "out") "/bin"))
|
||||||
|
;; Skip the ipython tests.
|
||||||
|
(delete-file "tests/test_ipython.py")
|
||||||
|
(invoke "python" "-m" "pytest")))))))
|
||||||
|
(native-inputs
|
||||||
|
(modify-inputs (package-native-inputs python-dotenv)
|
||||||
|
(append python-mock)
|
||||||
|
(replace "python-sh" python-sh-1)))))
|
||||||
|
|
||||||
(define-public date2name
|
(define-public date2name
|
||||||
(let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798")
|
(let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798")
|
||||||
(revision "1"))
|
(revision "1"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue