summary refs log tree commit diff
path: root/pkgs/development/python-modules/backports-shutil-which
diff options
context:
space:
mode:
authorJaakko Luttinen <jaakko.luttinen@iki.fi>2018-08-26 15:44:16 +0300
committerJaakko Luttinen <jaakko.luttinen@iki.fi>2018-09-12 08:44:19 +0300
commit80b64a2e049a9cb3b722de8520af4cfb08fef52a (patch)
tree4745bf548c5de31d7575730c39c0b1a83e27c933 /pkgs/development/python-modules/backports-shutil-which
parentc9bf7f67b9ce3e62a40119f8fcb353c67b4268c2 (diff)
downloadnixpkgs-80b64a2e049a9cb3b722de8520af4cfb08fef52a.tar
nixpkgs-80b64a2e049a9cb3b722de8520af4cfb08fef52a.tar.gz
nixpkgs-80b64a2e049a9cb3b722de8520af4cfb08fef52a.tar.bz2
nixpkgs-80b64a2e049a9cb3b722de8520af4cfb08fef52a.tar.lz
nixpkgs-80b64a2e049a9cb3b722de8520af4cfb08fef52a.tar.xz
nixpkgs-80b64a2e049a9cb3b722de8520af4cfb08fef52a.tar.zst
nixpkgs-80b64a2e049a9cb3b722de8520af4cfb08fef52a.zip
pythonPackage.backports-shutil-which: init at 3.5.1
Diffstat (limited to 'pkgs/development/python-modules/backports-shutil-which')
-rw-r--r--pkgs/development/python-modules/backports-shutil-which/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/backports-shutil-which/default.nix b/pkgs/development/python-modules/backports-shutil-which/default.nix
new file mode 100644
index 00000000000..69a80b530d6
--- /dev/null
+++ b/pkgs/development/python-modules/backports-shutil-which/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchPypi, buildPythonPackage }:
+
+buildPythonPackage rec {
+  pname = "backports.shutil_which";
+  version = "3.5.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "16sa3adkf71862cb9pk747pw80a2f1v5m915ijb4fgj309xrlhyx";
+  };
+
+  # Tests fail: "ValueError: underlying buffer has been detached"
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Backport of shutil.which from Python 3.3";
+    homepage = https://github.com/minrk/backports.shutil_which;
+    license = licenses.psfl;
+    maintainers = with maintainers; [ jluttine ];
+  };
+}