nixpkgs/pkgs/development/python-modules/pex/default.nix
2021-11-30 18:52:51 -08:00

35 lines
694 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
}:
buildPythonPackage rec {
pname = "pex";
version = "2.1.56";
format = "flit";
src = fetchPypi {
inherit pname version;
sha256 = "8dfb7ef551cc9d3d03a6e2dc1b1ba6183cd94f3cde7431836f017d60cc992d53";
};
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 ];
};
}