diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-04 21:37:21 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-15 08:52:18 +0200 |
| commit | 3eca7ff9681b68d19016737dacc0d7a0572af3e6 (patch) | |
| tree | 02e2ef6eb396b46db67964e9106f6f2d9e32caf7 /gnu/packages/python-crypto.scm | |
| parent | b5ffcbe1af01544cac31f056a700f5382f3e6b14 (diff) | |
gnu: Add python-blurhash.
* gnu/packages/python-crypto.scm (python-blurhash): New variable.
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 9eee75cbfb2..23c06267a72 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -788,6 +788,40 @@ key), SSH public key, ASC-encoded OpenPGP key, APK Android application, LDIFF | |||
| 788 | file, and more.") | 788 | file, and more.") |
| 789 | (license license:gpl3))) | 789 | (license license:gpl3))) |
| 790 | 790 | ||
| 791 | (define-public python-blurhash | ||
| 792 | (package | ||
| 793 | (name "python-blurhash") | ||
| 794 | (version "1.1.4") | ||
| 795 | (source | ||
| 796 | (origin | ||
| 797 | ;; Tests not included in pypi release and releases not tagged in git repo. | ||
| 798 | (method git-fetch) | ||
| 799 | (uri (git-reference | ||
| 800 | (url "https://github.com/halcy/blurhash-python") | ||
| 801 | (commit "22e081ef1c24da1bb5c5eaa2c1d6649724deaef8"))) | ||
| 802 | (file-name (git-file-name name version)) | ||
| 803 | (sha256 | ||
| 804 | (base32 | ||
| 805 | "1qq6mhydlp7q3na4kmaq3871h43wh3pyfyxr4b79bia73wjdylxf")))) | ||
| 806 | (build-system python-build-system) | ||
| 807 | (arguments | ||
| 808 | '(#:phases | ||
| 809 | (modify-phases %standard-phases | ||
| 810 | (replace 'check | ||
| 811 | (lambda _ | ||
| 812 | (delete-file "setup.cfg") | ||
| 813 | (invoke "pytest")))))) | ||
| 814 | (native-inputs | ||
| 815 | `(("python-numpy" ,python-numpy) | ||
| 816 | ("python-pillow" ,python-pillow) | ||
| 817 | ("python-pytest" ,python-pytest))) | ||
| 818 | (home-page "https://github.com/halcy/blurhash-python") | ||
| 819 | (synopsis | ||
| 820 | "Pure-Python implementation of the blurhash algorithm") | ||
| 821 | (description | ||
| 822 | "Pure-Python implementation of the blurhash algorithm.") | ||
| 823 | (license license:expat))) | ||
| 824 | |||
| 791 | (define-public python-ecpy | 825 | (define-public python-ecpy |
| 792 | (package | 826 | (package |
| 793 | (name "python-ecpy") | 827 | (name "python-ecpy") |
