2018-10-16 15:37:57 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pex";
|
2018-11-20 10:58:36 +00:00
|
|
|
version = "1.5.3";
|
2018-10-16 15:37:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-20 10:58:36 +00:00
|
|
|
sha256 = "a0244c9e25172598fca73cb61e2a2f133503565c95d99210c3d5c0e85950c4bd";
|
2018-10-16 15:37:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|