forked from mirrors/nixpkgs
31 lines
707 B
Nix
31 lines
707 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pex";
|
|
version = "1.6.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
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 ];
|
|
broken = true;
|
|
};
|
|
|
|
}
|