blob: 0ead5fc63ee386545c343fdd10258d3d77fcd1e8 (
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
35
36
37
38
39
|
{
lib,
pythonOlder,
pytestCheckHook,
pytest-cov-stub,
hatchling,
fetchFromGitHub,
buildPythonPackage,
}:
buildPythonPackage rec {
pname = "entry-points-txt";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jwodder";
repo = "entry-points-txt";
tag = "v${version}";
hash = "sha256-8oGK7aIDgXkCLh/d38hWzfF367KhmggG2s820D2r/EA=";
};
build-system = [ hatchling ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "entry_points_txt" ];
meta = {
description = "Read & write entry_points.txt files";
homepage = "https://github.com/jwodder/entry-points-txt";
changelog = "https://github.com/wheelodex/entry-points-txt/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ayazhafiz ];
};
}
|