2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, EasyProcess
|
|
|
|
, path
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "entrypoint2";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "1.1";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-06-16 17:23:12 +00:00
|
|
|
hash = "sha256-/At/57IazatHpYWrlAfKflxPlstoiFddtrDOuR8OEFo=";
|
2020-10-07 09:15:18 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
checkInputs = [
|
|
|
|
EasyProcess
|
|
|
|
path
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-10-07 09:15:18 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"entrypoint2"
|
|
|
|
];
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Easy to use command-line interface for python modules";
|
|
|
|
homepage = "https://github.com/ponty/entrypoint2/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ austinbutler ];
|
|
|
|
};
|
|
|
|
}
|