summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2017-03-16 11:01:02 -0400
committerDan Peebles <pumpkin@me.com>2017-03-16 11:01:14 -0400
commit504b596e5558316240f19711909b0873f820cf7d (patch)
tree714a18056885bdc248f3d81616a1a085c8ea6a9e /pkgs
parenta17e8e7e72de66bf62108f63348751f86a653d14 (diff)
downloadnixlib-504b596e5558316240f19711909b0873f820cf7d.tar
nixlib-504b596e5558316240f19711909b0873f820cf7d.tar.gz
nixlib-504b596e5558316240f19711909b0873f820cf7d.tar.bz2
nixlib-504b596e5558316240f19711909b0873f820cf7d.tar.lz
nixlib-504b596e5558316240f19711909b0873f820cf7d.tar.xz
nixlib-504b596e5558316240f19711909b0873f820cf7d.tar.zst
nixlib-504b596e5558316240f19711909b0873f820cf7d.zip
pythonPackages.pathspec_0_5: init
The pre-release version of pants needs it. I'll kill the duplicated copy
once the new version of pants is final.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix21
1 files changed, 20 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 97dab697081d..e2fb54ede583 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -8607,7 +8607,7 @@ in {
 
     propagatedBuildInputs = with self; [
       twitter-common-collections setproctitle setuptools six ansicolors
-      packaging pathspec scandir twitter-common-dirutil psutil requests2
+      packaging pathspec_0_5 scandir twitter-common-dirutil psutil requests2
       pystache pex docutils markdown pygments twitter-common-confluence
       fasteners coverage pywatchman futures cffi
     ];
@@ -8656,6 +8656,7 @@ in {
     };
   };
 
+  # Get rid of this when pants 1.3.0 is released and make 0.5 the default
   pathspec = buildPythonPackage rec {
     pname   = "pathspec";
     version = "0.3.4";
@@ -8674,6 +8675,24 @@ in {
     };
   };
 
+  pathspec_0_5 = buildPythonPackage rec {
+    pname   = "pathspec";
+    version = "0.5.0";
+    name    = "${pname}-${version}";
+
+    src = self.fetchPypi {
+      inherit pname version;
+      sha256 = "07yx1gxj9v1iyyiy5fhq2wsmh4qfbrx158wi7jb0nx6lah80ffma";
+    };
+
+    meta = {
+      description = "Utility library for gitignore-style pattern matching of file paths";
+      homepage = "https://github.com/cpburnz/python-path-specification";
+      license = licenses.mpl20;
+      maintainers = with maintainers; [ copumpkin ];
+    };
+  };
+
   pathtools = buildPythonPackage rec {
     name = "pathtools-${version}";
     version = "0.1.2";