mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add python-blurhash.
* gnu/packages/python-crypto.scm (python-blurhash): New variable.
This commit is contained in:
parent
b5ffcbe1af
commit
3eca7ff968
1 changed files with 34 additions and 0 deletions
|
@ -788,6 +788,40 @@ (define-public python2-roca-detect
|
||||||
file, and more.")
|
file, and more.")
|
||||||
(license license:gpl3)))
|
(license license:gpl3)))
|
||||||
|
|
||||||
|
(define-public python-blurhash
|
||||||
|
(package
|
||||||
|
(name "python-blurhash")
|
||||||
|
(version "1.1.4")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
;; Tests not included in pypi release and releases not tagged in git repo.
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/halcy/blurhash-python")
|
||||||
|
(commit "22e081ef1c24da1bb5c5eaa2c1d6649724deaef8")))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1qq6mhydlp7q3na4kmaq3871h43wh3pyfyxr4b79bia73wjdylxf"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(delete-file "setup.cfg")
|
||||||
|
(invoke "pytest"))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-numpy" ,python-numpy)
|
||||||
|
("python-pillow" ,python-pillow)
|
||||||
|
("python-pytest" ,python-pytest)))
|
||||||
|
(home-page "https://github.com/halcy/blurhash-python")
|
||||||
|
(synopsis
|
||||||
|
"Pure-Python implementation of the blurhash algorithm")
|
||||||
|
(description
|
||||||
|
"Pure-Python implementation of the blurhash algorithm.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-ecpy
|
(define-public python-ecpy
|
||||||
(package
|
(package
|
||||||
(name "python-ecpy")
|
(name "python-ecpy")
|
||||||
|
|
Loading…
Reference in a new issue