nixpkgs/pkgs/development/python-modules/pex/default.nix

30 lines
688 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pex";
2019-02-14 07:37:23 +00:00
version = "1.6.2";
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:23 +00:00
sha256 = "724588ce982222a3020ad3de50e0912915815175771b35e59fe06fdf1db35415";
};
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 ];
};
}