diff options
author | Dan Peebles <pumpkin@me.com> | 2017-03-15 22:20:17 -0400 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2017-03-15 22:22:02 -0400 |
commit | e3abe9c6faf2b65717867a3ec966667d9e83bfa7 (patch) | |
tree | 68dfec44108dcf6fc7a2721ee5be77c811dfbf65 | |
parent | bf5dc90f304b6dd047a031cd097ada3bc242b7e0 (diff) | |
download | nixpkgs-e3abe9c6faf2b65717867a3ec966667d9e83bfa7.tar nixpkgs-e3abe9c6faf2b65717867a3ec966667d9e83bfa7.tar.gz nixpkgs-e3abe9c6faf2b65717867a3ec966667d9e83bfa7.tar.bz2 nixpkgs-e3abe9c6faf2b65717867a3ec966667d9e83bfa7.tar.lz nixpkgs-e3abe9c6faf2b65717867a3ec966667d9e83bfa7.tar.xz nixpkgs-e3abe9c6faf2b65717867a3ec966667d9e83bfa7.tar.zst nixpkgs-e3abe9c6faf2b65717867a3ec966667d9e83bfa7.zip |
pythonPackages.pants13-pre: init
-rw-r--r-- | pkgs/top-level/python-packages.nix | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8f7fe7a872e..2c71d0dfa17 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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; }; }; |