blob: c4ffe1eb76255d2057d631abb3fc514528155d3a (
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
54
55
56
|
{
lib,
buildPythonPackage,
fetchFromSourcehut,
docutils,
semver,
setuptools,
testscenarios,
testtools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "changelog-chug";
version = "0.0.3";
pyproject = true;
src = fetchFromSourcehut {
owner = "~bignose";
repo = "changelog-chug";
rev = "release/${version}";
hash = "sha256-SPwFkmRQMpdsVmzZE4mB2J9wsfvE1K21QDkOQ2XPlow=";
# HACK: sourcehut can't generate tarballs from tags with slashes properly,
# so force using git clone.
# See: https://todo.sr.ht/~sircmpwn/git.sr.ht/323
fetchSubmodules = true;
};
build-system = [
docutils
semver
setuptools
];
dependencies = [
docutils
semver
];
nativeCheckInputs = [
testscenarios
testtools
unittestCheckHook
];
pythonImportsCheck = [
"chug"
];
meta = {
description = "Changelog document parser";
homepage = "https://git.sr.ht/~bignose/changelog-chug";
license = lib.licenses.agpl3Only;
maintainers = [ ];
};
}
|