Skip to content

Commit

Permalink
pythonPackages.pathspec_0_5: init
Browse files Browse the repository at this point in the history
The pre-release version of pants needs it. I'll kill the duplicated copy
once the new version of pants is final.
  • Loading branch information
copumpkin committed Mar 16, 2017
1 parent a17e8e7 commit 504b596
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion pkgs/top-level/python-packages.nix
Expand Up @@ -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
];
Expand Down Expand Up @@ -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";
Expand All @@ -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";
Expand Down

4 comments on commit 504b596

@FRidh
Copy link
Member

@FRidh FRidh commented on 504b596 Mar 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Judging from the description I don't think pants is supposed to be in python-modules.

@copumpkin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you mean? I can put it into its own build tools directory later if it's better suited there.

@FRidh
Copy link
Member

@FRidh FRidh commented on 504b596 Mar 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that would be better.

@copumpkin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, will move them this evening, thanks for the feedback!

Please sign in to comment.