mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 19:08:30 +00:00
31 lines
707 B
Nix
31 lines
707 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pex";
|
|
version = "1.6.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ca887bedc9c6e0eab72fcb4c20eda8fff975d06b75993a85ee1dfc763ba38e86";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|