1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 flit-core,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "entrypoints";
12 version = "0.4";
13 format = "pyproject";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-twbt2qkhihnrzWe1aBjwW7J1ibHKno15e3Sv+tTMrNQ=";
20 };
21
22 nativeBuildInputs = [ flit-core ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 meta = with lib; {
27 description = "Discover and load entry points from installed packages";
28 homepage = "https://github.com/takluyver/entrypoints";
29 license = licenses.mit;
30 maintainers = [ ];
31 };
32}