blob: b591db9cd79795048bc9e4cb9d5b7c7e2c9896cb (
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
40
41
42
43
44
45
|
{
buildPythonPackage,
fetchFromGitHub,
hatch-vcs,
hatchling,
lib,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hatch-docstring-description";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "flying-sheep";
repo = "hatch-docstring-description";
tag = "v${version}";
hash = "sha256-ouor0FV3qdXYJx5EWFUWSKp8Cc/EuD1WXrtLvbYG+XI=";
};
build-system = [
hatchling
hatch-vcs
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# See https://github.com/flying-sheep/hatch-docstring-description/issues/107
"test_e2e[.]"
"test_e2e[src]"
];
pythonImportsCheck = [ "hatch_docstring_description" ];
meta = {
description = "Derive PyPI package description from Python package docstring";
homepage = "https://github.com/flying-sheep/hatch-docstring-description";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [
samuela
];
};
}
|