[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: Add python-reflink.
From: |
guix-commits |
Subject: |
03/04: gnu: Add python-reflink. |
Date: |
Tue, 2 Feb 2021 16:04:56 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 4532a1575b8159054c90d3f16ca60d9b61777c25
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 2 21:57:34 2021 +0100
gnu: Add python-reflink.
* gnu/packages/python-xyz.scm (python-reflink): New variable.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 12f8dc4..e296e3c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23577,6 +23577,32 @@ YAML. It takes care of defaults, overrides, type
checking, command-line
integration, human-readable errors, and standard OS-specific locations.")
(license license:expat)))
+(define-public python-reflink
+ (package
+ (name "python-reflink")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "reflink" version))
+ (sha256
+ (base32
+ "0fkf3sd958g9hvr3jwlhnhqqzrwxljrc3grsf3yknh94vf13a9f9"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #false)) ; almost all tests want to run mkfs.btrfs
+ (propagated-inputs
+ `(("python-cffi" ,python-cffi)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (home-page "https://gitlab.com/rubdos/pyreflink")
+ (synopsis "Python wrapper around reflink system call")
+ (description
+ "Python reflink wraps around platform specific @code{reflink}
+implementations.")
+ (license license:expat)))
+
(define-public python-pivy
(package
(name "python-pivy")