mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add python-fusepy.
* gnu/packages/python.scm (python-fusepy): New variable, (python2-fusepy): new variable.
This commit is contained in:
parent
b5a9f49b49
commit
a037a59f83
1 changed files with 33 additions and 0 deletions
|
@ -13366,3 +13366,36 @@ (define-public python-gipc
|
|||
|
||||
(define-public python2-gipc
|
||||
(package-with-python2 python-gipc))
|
||||
|
||||
(define-public python-fusepy
|
||||
(package
|
||||
(name "python-fusepy")
|
||||
(version "2.0.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "fusepy" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0v5grm4zyf58hsplwsxfbihddw95lz9w8cy3rpzbyha287swgx8h"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'set-library-file-name
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((fuse (assoc-ref inputs "fuse")))
|
||||
(substitute* "fuse.py"
|
||||
(("find_library\\('fuse'\\)")
|
||||
(string-append "'" fuse "/lib/libfuse.so'")))
|
||||
#t))))))
|
||||
(propagated-inputs
|
||||
`(("fuse" ,fuse)))
|
||||
(home-page "https://github.com/fusepy/fusepy")
|
||||
(synopsis "Simple ctypes bindings for FUSE")
|
||||
(description "Python module that provides a simple interface to FUSE and
|
||||
MacFUSE. The binding is created using the standard @code{ctypes} library.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public python2-fusepy
|
||||
(package-with-python2 python-fusepy))
|
||||
|
|
Loading…
Reference in a new issue