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