depot/third_party/nixpkgs/pkgs/development/python-modules/pex/default.nix

29 lines
626 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "pex";
version = "2.1.21";
src = fetchPypi {
inherit pname version;
sha256 = "d580a26da1b342ab2ebbf675ba2bab04e98c4d1aaf2a6fea09f41d68dfc466ba";
};
nativeBuildInputs = [ setuptools ];
# A few more dependencies I don't want to handle right now...
doCheck = false;
meta = with lib; {
description = "A library and tool for generating .pex (Python EXecutable) files";
homepage = "https://github.com/pantsbuild/pex";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
};
}