From: Efraim Flashner <efraim@flashner.co.il>
To: 40100@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#40100] [PATCH 2/6] gnu: Add python-fusepyng.
Date: Tue, 17 Mar 2020 09:20:36 +0200 [thread overview]
Message-ID: <20200317072040.31229-2-efraim@flashner.co.il> (raw)
In-Reply-To: <20200317071432.GM927@E5400>
* gnu/packages/python-xyz.scm (python-fusepyng): New variable.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6d3e2ce19..2aafb380c2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15920,6 +15920,39 @@ MacFUSE. The binding is created using the standard @code{ctypes} library.")
(define-public python2-fusepy
(package-with-python2 python-fusepy))
+(define-public python-fusepyng
+ (package
+ (name "python-fusepyng")
+ (version "1.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "fusepyng" version))
+ (sha256
+ (base32
+ "17w9iw6m6zjbmnhs4ikd27pq4mb1nan6k4ahlwyz40463vw6wkwb"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-libfuse-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((fuse (assoc-ref inputs "fuse")))
+ (substitute* "fusepyng.py"
+ (("os.environ.get\\('FUSE_LIBRARY_PATH'\\)")
+ (string-append "\"" fuse "/lib/libfuse.so\""))))
+ #t)))))
+ (inputs
+ `(("fuse" ,fuse)))
+ (propagated-inputs
+ `(("python-paramiko" ,python-paramiko)))
+ (home-page "https://github.com/rianhunter/fusepyng")
+ (synopsis "Simple ctypes bindings for FUSE")
+ (description "@code{fusepyng} is a Python module that provides a simple
+interface to FUSE on various operating systems. It's just one file and is
+implemented using @code{ctypes}.")
+ (license license:isc)))
+
(define-public python2-gdrivefs
(package
(name "python2-gdrivefs")
--
2.25.1
next prev parent reply other threads:[~2020-03-17 7:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-17 7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 1/6] gnu: Add python-keyrings.alt Efraim Flashner
2020-03-17 7:20 ` Efraim Flashner [this message]
2020-03-17 7:20 ` [bug#40100] [PATCH 3/6] gnu: Add python-userspacefs Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 4/6] gnu: Add python-argon2-cffi Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 5/6] gnu: Add python-privy Efraim Flashner
2020-03-17 7:20 ` [bug#40100] [PATCH 6/6] gnu: Add python-block-tracing Efraim Flashner
2020-03-22 8:21 ` bug#40100: [PATCH 0/7] Some python packages Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200317072040.31229-2-efraim@flashner.co.il \
--to=efraim@flashner.co.il \
--cc=40100@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).