Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
59 lines
1.0 KiB
Nix
59 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromSourcehut,
|
|
docutils,
|
|
semver,
|
|
setuptools,
|
|
coverage,
|
|
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 = [
|
|
coverage
|
|
testscenarios
|
|
testtools
|
|
unittestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"chug"
|
|
];
|
|
|
|
meta = {
|
|
description = "Changelog document parser";
|
|
homepage = "https://git.sr.ht/~bignose/changelog-chug";
|
|
license = lib.licenses.agpl3Only;
|
|
maintainers = [ ];
|
|
};
|
|
}
|