From 504b596e5558316240f19711909b0873f820cf7d Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Thu, 16 Mar 2017 11:01:02 -0400 Subject: 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. --- pkgs/top-level/python-packages.nix | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'pkgs') 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"; -- cgit 1.4.1