depot/third_party/nixpkgs/pkgs/development/python-modules/pex/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
816 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pex";
version = "2.7.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-tL+Roe2GHSVm6tIxIWXI6ek8rOMN8Ak2+Xe5ebn497E=";
};
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
];
};
}