python3Packages.pex: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2021-10-31 07:21:26 +01:00 committed by GitHub
parent f8f15d06ac
commit 0e1318f826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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