[bug#37598,3/4] gnu: Add python-whichcraft.
diff mbox series

Message ID 20191004072321.fqbj6vbnjpq3u2v7@rafflesia
State New
Headers show
Series
  • Untitled series #1872
Related show

Commit Message

Tanguy Le Carrour Oct. 4, 2019, 7:23 a.m. UTC
From 400f3e8de89021604a0aae16df9eab28cf8f56e7 Mon Sep 17 00:00:00 2001
From: "tanguy@bioneland.org" <tanguy@bioneland.org>
Date: Thu, 3 Oct 2019 09:17:05 +0200
Subject: [PATCH 3/4] gnu: Add python-whichcraft.

---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a21029a5dc..cd3a3e6c99 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9108,6 +9108,28 @@  server with very acceptable performance.")
 (define-public python2-waitress
   (package-with-python2 python-waitress))
 
+(define-public python-whichcraft
+  (package
+    (name "python-whichcraft")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "whichcraft" version))
+       (sha256
+        (base32
+         "11yfkzyplizdgndy34vyd5qlmr1n5mxis3a3svxmx8fnccdvknxc"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/pydanny/whichcraft")
+    (synopsis
+     "This package provides cross-platform cross-python shutil.which functionality")
+    (description
+     "This package provides cross-platform cross-python shutil.which functionality.")
+    (license license:bsd-3)))
+
 (define-public python-pyquery
   (package
     (name "python-pyquery")