2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 14:37:57 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-05-23 16:36:22 +00:00
|
|
|
, setuptools
|
2018-10-16 14:37:57 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pex";
|
2021-11-01 20:05:06 +00:00
|
|
|
version = "2.1.54";
|
2021-10-31 06:21:26 +00:00
|
|
|
format = "setuptools";
|
2018-10-16 14:37:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-01 20:05:06 +00:00
|
|
|
sha256 = "5878d97e4b6df920cb7b4a45254501746945193289c934c707e36107594c0982";
|
2018-10-16 14:37:57 +00:00
|
|
|
};
|
|
|
|
|
2021-10-31 06:21:26 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
2018-10-16 14:37:57 +00:00
|
|
|
|
|
|
|
# A few more dependencies I don't want to handle right now...
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-10-31 06:21:26 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pex"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-10-31 06:21:26 +00:00
|
|
|
description = "Python library and tool for generating .pex (Python EXecutable) files";
|
2018-10-16 14:37:57 +00:00
|
|
|
homepage = "https://github.com/pantsbuild/pex";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
};
|
|
|
|
}
|