depot/third_party/nixpkgs/pkgs/development/python-modules/pex/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

38 lines
816 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pex";
version = "2.4.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-WH6aklJP8Wk1XgxULedM/rIt6XWAV5ur9hOAta7TsD4=";
};
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
];
};
}