diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-06 00:03:20 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-31 14:54:01 -0400 |
commit | 6a778b47052d27e4edb242c32fccd9339c7d5a12 (patch) | |
tree | cc2e13625b6ad2f207c7da92698399b443953911 /gnu | |
parent | 553c009d7415288fff4ab758d906449c4c18ef69 (diff) | |
download | guix-6a778b47052d27e4edb242c32fccd9339c7d5a12.tar.gz |
gnu: python-fastbencode: Build C extensions.
* gnu/packages/python-xyz.scm (python-fastbencode) [source]: Delete pre-generated C source files in snippet. [native-inputs]: Add python-cython.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1f72d1a284..2c141b104c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12663,9 +12663,13 @@ JSON Reference and JSON Pointer.") (origin (method url-fetch) (uri (pypi-uri "fastbencode" version)) + (modules '((guix build utils))) + ;; Delete pre-generated Cython C files. + (snippet '(for-each delete-file (find-files "." "\\.c$"))) (sha256 (base32 "1r66w3vpmvfmssshjpgqaj2m14c8p94nymr96mwn61idajz9mg5n")))) (build-system python-build-system) + (native-inputs (list python-cython)) (home-page "https://github.com/breezy-team/fastbencode") (synopsis "Python Bencode (de)serializer with optional fast C extensions") (description |