gnu: Add python2-gdrivefs.
* gnu/packages/python.scm (python2-gdrivefs): New variable.
This commit is contained in:
parent
a037a59f83
commit
4806d390cb
|
@ -13399,3 +13399,44 @@ MacFUSE. The binding is created using the standard @code{ctypes} library.")
|
|||
|
||||
(define-public python2-fusepy
|
||||
(package-with-python2 python-fusepy))
|
||||
|
||||
(define-public python2-gdrivefs
|
||||
(package
|
||||
(name "python2-gdrivefs")
|
||||
(version "0.14.9")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "gdrivefs" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0v9sp2cfg4ki3wagkwf3rnfpjhvgf845anz3757il9z95yvvcvb7"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'patch-setup-py
|
||||
(lambda _
|
||||
;; Update requirements from dependency==version
|
||||
;; to dependency>=version
|
||||
(substitute* "gdrivefs/resources/requirements.txt"
|
||||
(("==") ">="))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("python2-gipc" ,python2-gipc)
|
||||
("python2-gevent" ,python2-gevent)
|
||||
("python2-greenlet" ,python2-greenlet)
|
||||
("python2-httplib2" ,python2-httplib2)
|
||||
("python2-uritemplate" ,python2-uritemplate)
|
||||
("python2-oauth2client" ,python2-oauth2client)
|
||||
("python2-six" ,python2-six)))
|
||||
(propagated-inputs
|
||||
`(("python2-dateutil" ,python2-dateutil)
|
||||
("python2-fusepy" ,python2-fusepy)
|
||||
("python2-google-api-client" ,python2-google-api-client)))
|
||||
(home-page "https://github.com/dsoprea/GDriveFS")
|
||||
(synopsis "Mount Google Drive as a local file system")
|
||||
(description "@code{gdrivefs} provides a FUSE wrapper for Google Drive
|
||||
under Python 2.7.")
|
||||
(license license:gpl2)))
|
||||
|
|
Loading…
Reference in New Issue