2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-16 10:37:57 -04:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-11-29 14:16:05 +01:00
|
|
|
, flit-core
|
2018-10-16 10:37:57 -04:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pex";
|
2022-03-13 02:12:16 +00:00
|
|
|
version = "2.1.71";
|
2021-11-29 14:16:05 +01:00
|
|
|
format = "flit";
|
2018-10-16 10:37:57 -04:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-13 02:12:16 +00:00
|
|
|
sha256 = "sha256-jJ7J4upDL1X1Eut1kUWdJu3Ih2mheNFt0wI+QTZMKow=";
|
2018-10-16 10:37:57 -04:00
|
|
|
};
|
|
|
|
|
2021-10-31 07:21:26 +01:00
|
|
|
nativeBuildInputs = [
|
2021-11-29 14:16:05 +01:00
|
|
|
flit-core
|
2021-10-31 07:21:26 +01:00
|
|
|
];
|
2018-10-16 10:37:57 -04:00
|
|
|
|
|
|
|
# A few more dependencies I don't want to handle right now...
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-10-31 07:21:26 +01:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pex"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2021-10-31 07:21:26 +01:00
|
|
|
description = "Python library and tool for generating .pex (Python EXecutable) files";
|
2018-10-16 10:37:57 -04:00
|
|
|
homepage = "https://github.com/pantsbuild/pex";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
|
|
};
|
|
|
|
}
|