mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
gnu: Add python-pysendfile.
* gnu/packages/python-xyz.scm (python-pysendfile): New variable.
This commit is contained in:
parent
2fa2b91d59
commit
d07d0835a9
1 changed files with 25 additions and 0 deletions
|
@ -10503,6 +10503,31 @@ (define-public python-straight-plugin
|
||||||
(define-public python2-straight-plugin
|
(define-public python2-straight-plugin
|
||||||
(package-with-python2 python-straight-plugin))
|
(package-with-python2 python-straight-plugin))
|
||||||
|
|
||||||
|
(define-public python-pysendfile
|
||||||
|
(package
|
||||||
|
(name "python-pysendfile")
|
||||||
|
(version "2.0.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "pysendfile" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "05qf0m32isflln1zjgxlpw0wf469lj86vdwwqyizp1h94x5l22ji"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(setenv "HOME" "/tmp")
|
||||||
|
(invoke "make" "test")))))))
|
||||||
|
(home-page "https://github.com/giampaolo/pysendfile")
|
||||||
|
(synopsis "Python interface to sendfile(2)")
|
||||||
|
(description "The @{pysendfile} Python library provides an interface to
|
||||||
|
the @code{sendfile(2)} system call.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-fonttools
|
(define-public python-fonttools
|
||||||
(package
|
(package
|
||||||
(name "python-fonttools")
|
(name "python-fonttools")
|
||||||
|
|
Loading…
Reference in a new issue