diff options
| author | Marius Bakke <mbakke@fastmail.com> | 2020-02-01 15:51:29 +0100 |
|---|---|---|
| committer | Marius Bakke <mbakke@fastmail.com> | 2020-02-03 12:34:31 +0100 |
| commit | 9bf02042caee4bc9df4b8ab3cb879a20c6ed8b84 (patch) | |
| tree | ad16808bcef4a15a418b7107b00c9ef9c052e7ef /gnu/packages/python-compression.scm | |
| parent | c0fe2e1f03694cf7b29d418119c3ed0223973d59 (diff) | |
gnu: python-lz4: Remove bundled copy of lz4.
* gnu/packages/python-compression.scm (python-lz4)[source](modules, snippet):
New fields.
[native-inputs]: Add PKG-CONFIG.
[inputs]: Add LZ4.
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 70abc7bad18..7a0f3ae6ac2 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> | 5 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
| 6 | ;;; Copyright © 2018, 2019 Efraim Flashner <efraim@flashner.co.il> | 6 | ;;; Copyright © 2018, 2019 Efraim Flashner <efraim@flashner.co.il> |
| 7 | ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> | 7 | ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
| 8 | ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> | ||
| 8 | ;;; | 9 | ;;; |
| 9 | ;;; This file is part of GNU Guix. | 10 | ;;; This file is part of GNU Guix. |
| 10 | ;;; | 11 | ;;; |
| @@ -32,6 +33,7 @@ | |||
| 32 | #:use-module (gnu packages compression) | 33 | #:use-module (gnu packages compression) |
| 33 | #:use-module (gnu packages check) | 34 | #:use-module (gnu packages check) |
| 34 | #:use-module (gnu packages maths) | 35 | #:use-module (gnu packages maths) |
| 36 | #:use-module (gnu packages pkg-config) | ||
| 35 | #:use-module (gnu packages python) | 37 | #:use-module (gnu packages python) |
| 36 | #:use-module (gnu packages python-xyz) | 38 | #:use-module (gnu packages python-xyz) |
| 37 | #:use-module (gnu packages sphinx)) | 39 | #:use-module (gnu packages sphinx)) |
| @@ -84,11 +86,20 @@ Python strings.") | |||
| 84 | (uri (pypi-uri "lz4" version)) | 86 | (uri (pypi-uri "lz4" version)) |
| 85 | (sha256 | 87 | (sha256 |
| 86 | (base32 | 88 | (base32 |
| 87 | "0ghv1xbaq693kgww1x9c22bplz479ls9szjsaa4ig778ls834hm0")))) | 89 | "0ghv1xbaq693kgww1x9c22bplz479ls9szjsaa4ig778ls834hm0")) |
| 90 | (modules '((guix build utils))) | ||
| 91 | (snippet | ||
| 92 | '(begin | ||
| 93 | ;; Remove bundled copy of lz4. | ||
| 94 | (delete-file-recursively "lz4libs") | ||
| 95 | #t)))) | ||
| 88 | (build-system python-build-system) | 96 | (build-system python-build-system) |
| 89 | (native-inputs | 97 | (native-inputs |
| 90 | `(("python-nose" ,python-nose) | 98 | `(("pkg-config" ,pkg-config) |
| 99 | ("python-nose" ,python-nose) | ||
| 91 | ("python-setuptools-scm" ,python-setuptools-scm))) | 100 | ("python-setuptools-scm" ,python-setuptools-scm))) |
| 101 | (inputs | ||
| 102 | `(("lz4" ,lz4))) | ||
| 92 | (home-page "https://github.com/python-lz4/python-lz4") | 103 | (home-page "https://github.com/python-lz4/python-lz4") |
| 93 | (synopsis "LZ4 bindings for Python") | 104 | (synopsis "LZ4 bindings for Python") |
| 94 | (description | 105 | (description |
