blob: 58bd28b1d53e12a6c5ee891da2a304f87c2ea4a2 (
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
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitLab,
# build-system
setuptools,
setuptools-scm,
# dependencies
typing-extensions,
# nativeCheckInputs
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "declinate";
version = "0.0.6";
pyproject = true;
src = fetchFromGitLab {
owner = "ternaris";
repo = "declinate";
tag = "v${version}";
hash = "sha256-JEO/GtbG/yQuj8vJJaWex9mGy6qpWOPHGlKrdG9vt28=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"declinate"
];
meta = {
description = "Command line interface generator";
homepage = "https://gitlab.com/ternaris/declinate";
changelog = "https://gitlab.com/ternaris/declinate/-/blob/${src.tag}/CHANGES.rst";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nim65s ];
};
}
|