1{
2 lib,
3 pythonOlder,
4 pytestCheckHook,
5 pytest-cov-stub,
6 hatchling,
7 fetchFromGitHub,
8 buildPythonPackage,
9}:
10
11buildPythonPackage rec {
12 pname = "entry-points-txt";
13 version = "0.2.1";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "jwodder";
18 repo = "entry-points-txt";
19 tag = "v${version}";
20 hash = "sha256-hIUXxBJ0XSB4FrNZJdofJ1gTTncILNq9Xh+iAV1CD0s=";
21 };
22
23 nativeBuildInputs = [ hatchling ];
24
25 nativeCheckInputs = [
26 pytestCheckHook
27 pytest-cov-stub
28 ];
29
30 pythonImportsCheck = [ "entry_points_txt" ];
31
32 meta = with lib; {
33 description = "Read & write entry_points.txt files";
34 homepage = "https://github.com/jwodder/entry-points-txt";
35 changelog = "https://github.com/wheelodex/entry-points-txt/releases/tag/${src.tag}";
36 license = licenses.mit;
37 maintainers = with maintainers; [ ayazhafiz ];
38 };
39}