1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 easyprocess,
6 path,
7 pytestCheckHook,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "entrypoint2";
13 version = "1.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-/At/57IazatHpYWrlAfKflxPlstoiFddtrDOuR8OEFo=";
21 };
22
23 nativeCheckInputs = [
24 easyprocess
25 path
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [ "entrypoint2" ];
30
31 meta = with lib; {
32 description = "Easy to use command-line interface for python modules";
33 homepage = "https://github.com/ponty/entrypoint2/";
34 license = licenses.bsd2;
35 maintainers = with maintainers; [ austinbutler ];
36 };
37}