Skip to content

Commit afad430

Browse files
committedMay 7, 2017
pythonPackages.pathspec: 0.3.4 -> 0.5.2
- move old 0.3.4 into pants expression because that's the only package using this old version - remove `pathspec_0_5` because that's the new `pathspec`
1 parent ccfbe04 commit afad430

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed
 

‎pkgs/top-level/python-packages.nix

+22-22
Original file line numberDiff line numberDiff line change
@@ -8333,7 +8333,26 @@ in {
83338333
};
83348334
};
83358335

8336-
pants = buildPythonPackage rec {
8336+
pants = let
8337+
# Get rid of this when pants 1.3.0 is released and make 0.5 the default
8338+
pathspec = buildPythonPackage rec {
8339+
pname = "pathspec";
8340+
version = "0.3.4";
8341+
name = "${pname}-${version}";
8342+
8343+
src = self.fetchPypi {
8344+
inherit pname version;
8345+
sha256 = "0a37yrr2jhlg8aiynxivh2xqani7l9j725qxzrm7cm7m4rfcl1bn";
8346+
};
8347+
8348+
meta = {
8349+
description = "Utility library for gitignore-style pattern matching of file paths";
8350+
homepage = "https://github.com/cpburnz/python-path-specification";
8351+
license = licenses.mpl20;
8352+
maintainers = with maintainers; [ copumpkin ];
8353+
};
8354+
};
8355+
in buildPythonPackage rec {
83378356
pname = "pantsbuild.pants";
83388357
version = "1.2.1";
83398358
name = "${pname}-${version}";
@@ -8437,33 +8456,14 @@ in {
84378456
};
84388457
};
84398458

8440-
# Get rid of this when pants 1.3.0 is released and make 0.5 the default
84418459
pathspec = buildPythonPackage rec {
84428460
pname = "pathspec";
8443-
version = "0.3.4";
8444-
name = "${pname}-${version}";
8445-
8446-
src = self.fetchPypi {
8447-
inherit pname version;
8448-
sha256 = "0a37yrr2jhlg8aiynxivh2xqani7l9j725qxzrm7cm7m4rfcl1bn";
8449-
};
8450-
8451-
meta = {
8452-
description = "Utility library for gitignore-style pattern matching of file paths";
8453-
homepage = "https://github.com/cpburnz/python-path-specification";
8454-
license = licenses.mpl20;
8455-
maintainers = with maintainers; [ copumpkin ];
8456-
};
8457-
};
8458-
8459-
pathspec_0_5 = buildPythonPackage rec {
8460-
pname = "pathspec";
8461-
version = "0.5.0";
8461+
version = "0.5.2";
84628462
name = "${pname}-${version}";
84638463

84648464
src = self.fetchPypi {
84658465
inherit pname version;
8466-
sha256 = "07yx1gxj9v1iyyiy5fhq2wsmh4qfbrx158wi7jb0nx6lah80ffma";
8466+
sha256 = "f9fdf4408f4adb30e9f507f61d3a41c968e9c6e6c519d4bbd2a189627b5e86f0";
84678467
};
84688468

84698469
meta = {

0 commit comments

Comments
 (0)
Please sign in to comment.