depot/third_party/nixpkgs/pkgs/development/python-modules/pex/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
816 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pex";
version = "2.3.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-0SZMkRYcIRObRUdEyAU+Jbiq0tFdqJIyGBtPOPP1RXU=";
};
build-system = [ hatchling ];
# 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";
changelog = "https://github.com/pantsbuild/pex/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [
copumpkin
phaer
];
};
}