depot/third_party/nixpkgs/pkgs/development/python-modules/pex/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

34 lines
694 B
Nix

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