35 lines
681 B
Nix
35 lines
681 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flit-core
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pex";
|
|
version = "2.1.69";
|
|
format = "flit";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-JbQ8yn/uALjjVSRgqKXsQOC4rOCGkMPxb50KqWg89kM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
flit-core
|
|
];
|
|
|
|
# A few more dependencies I don't want to handle right now...
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pex"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python library and tool for generating .pex (Python EXecutable) files";
|
|
homepage = "https://github.com/pantsbuild/pex";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
};
|
|
}
|