diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-16 10:37:57 -0400 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-10-17 07:46:58 +0200 |
commit | d40edcb9113702c244a06079238c5f62316f57a3 (patch) | |
tree | fb7c2641d0151700e539cad6bb6635abb3e9adc4 /pkgs/development/python-modules/pex | |
parent | 4e29f175492e1719e50a3db4d4fa4d8489826598 (diff) |
pythonPackages.pex: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/pex')
-rw-r--r-- | pkgs/development/python-modules/pex/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pex/default.nix b/pkgs/development/python-modules/pex/default.nix new file mode 100644 index 0000000000000..f7efec5c70efa --- /dev/null +++ b/pkgs/development/python-modules/pex/default.nix @@ -0,0 +1,29 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "pex"; + version = "1.2.7"; + + src = fetchPypi { + inherit pname version; + sha256 = "1m0gx9182w1dybkyjwwjyd6i87x2dzv252ks2fj8yn6avlcp5z4q"; + }; + + prePatch = '' + substituteInPlace setup.py --replace 'SETUPTOOLS_REQUIREMENT,' '"setuptools"' + ''; + + # A few more dependencies I don't want to handle right now... + doCheck = false; + + meta = with stdenv.lib; { + description = "A library and tool for generating .pex (Python EXecutable) files"; + homepage = "https://github.com/pantsbuild/pex"; + license = licenses.asl20; + maintainers = with maintainers; [ copumpkin ]; + }; + +} |