1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-26 02:56:36 +03:00
nixpkgs/pkgs/development/python-modules/pex/default.nix

35 lines
681 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2021-11-29 14:16:05 +01:00
, flit-core
}:
buildPythonPackage rec {
pname = "pex";
version = "2.1.71";
2021-11-29 14:16:05 +01:00
format = "flit";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-jJ7J4upDL1X1Eut1kUWdJu3Ih2mheNFt0wI+QTZMKow=";
};
nativeBuildInputs = [
2021-11-29 14:16:05 +01:00
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 ];
};
}