depot/third_party/nixpkgs/pkgs/development/python-modules/pex/default.nix
Default email a6d62be0d1 Project import generated by Copybara.
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
2021-12-26 18:43:05 +01:00

34 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 ];
};
}