Skip to content

Commit

Permalink
pythonPackages.pants13-pre: init
Browse files Browse the repository at this point in the history
  • Loading branch information
copumpkin committed Mar 16, 2017
1 parent bf5dc90 commit e3abe9c
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -8562,9 +8562,44 @@ in {

meta = {
description = "A build system for software projects in a variety of languages";
homepage = "http://www.pantsbuild.org/";
license = licenses.asl20;
homepage = "http://www.pantsbuild.org/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.unix;
};
};

pants13-pre = buildPythonPackage rec {
pname = "pantsbuild.pants";
version = "1.3.0.dev13";
name = "${pname}-${version}";

src = self.fetchPypi {
inherit pname version;
sha256 = "0gnz0f74s53xccfdn78v2dg1m3gx2mm0pdmmjvs5ikfbb9lidhz4";
};

prePatch = ''
sed -E -i "s/'([[:alnum:].-]+)[=><][[:digit:]=><.,]*'/'\\1'/g" setup.py
'';

# Unnecessary, and causes some really weird behavior around .class files, which
# this package bundles. See https://github.com/NixOS/nixpkgs/issues/22520.
dontStrip = true;

propagatedBuildInputs = with self; [
twitter-common-collections setproctitle setuptools six ansicolors
packaging pathspec scandir twitter-common-dirutil psutil requests2
pystache pex docutils markdown pygments twitter-common-confluence
fasteners coverage pywatchman futures cffi
];

meta = {
description = "A build system for software projects in a variety of languages";
homepage = "http://www.pantsbuild.org/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.unix;
};
};

Expand Down

0 comments on commit e3abe9c

Please sign in to comment.