gnu: borg: Rebuild generated C files.

* gnu/packages/backup.scm (borg)[source]: Remove generated '.c' files.
[native-inputs]: Add python-cython.
This commit is contained in:
Efraim Flashner 2016-09-05 15:23:11 +03:00
parent 35b380648b
commit f99cfc19a2
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 7 additions and 3 deletions

View File

@ -410,10 +410,13 @@ detection, and lossless compression.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "borgbackup" version)) (uri (pypi-uri "borgbackup" version))
(sha256 (sha256
(base32 (base32
"1l9iw55w5x51yxl3q89cf6avg80lajxvc8qz584hrsmnk6i56cr0")))) "1l9iw55w5x51yxl3q89cf6avg80lajxvc8qz584hrsmnk6i56cr0"))
(modules '((guix build utils)))
(snippet
'(for-each
delete-file (find-files "borg" "^(c|h|p).*\\.c$")))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -437,7 +440,8 @@ detection, and lossless compression.")
(install-file "docs/_build/man/borg.1" man) (install-file "docs/_build/man/borg.1" man)
#t)))))))) #t))))))))
(native-inputs (native-inputs
`(("python-setuptools-scm" ,python-setuptools-scm) `(("python-cython" ,python-cython)
("python-setuptools-scm" ,python-setuptools-scm)
;; For generating the documentation. ;; For generating the documentation.
("python-sphinx" ,python-sphinx) ("python-sphinx" ,python-sphinx)
("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme))) ("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme)))