[bug#35598,2/6] gnu: Add python-whichcraft, python2-whichcraft
diff mbox series

Message ID 20190506053017.7255-2-pritchard.calvin@gmail.com
State New
Headers show
Series
  • [bug#35598,1/6] gnu: Add python-arrow
Related show

Checks

Context Check Description
cbaines/applying patch success Successfully applied

Commit Message

Calvin Pritchard May 6, 2019, 5:30 a.m. UTC
From: Calvin Pritchard <calvin.pritchard@asu.edu>

* gnu/packages/python-xyz.scm (python-whichcraft, python2-whichcraft).
  New variables.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bdc6f408f0..4cee74591d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2180,6 +2180,31 @@  Simply put, it helps you work with dates and times with fewer imports
 and a lot less code.")
     (license license:asl2.0)))
 
+(define-public python-whichcraft
+  (package
+    (name "python-whichcraft")
+    (version "0.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "whichcraft" version))
+       (sha256
+        (base32
+         "058qr17inlhp9354q1lr0qq31yhqzfd405djp1fzqzr33x9xvkgy"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/pydanny/whichcraft")
+    (synopsis
+     "Provides cross-platform cross-python shutil.which")
+    (description
+     "This package provides cross-platform cross-python shutil.which functionality.")
+    (license license:bsd-3)))
+
+(define-public python2-whichcraft
+  (package-with-python2 python-whichcraft))
+
 (define-public python-pympler
   (package
     (name "python-pympler")