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
43 lines
888 B
Nix
43 lines
888 B
Nix
{
|
|
lib,
|
|
babel,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
linetable,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "kajiki";
|
|
version = "1.0.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jackrosenthal";
|
|
repo = "kajiki";
|
|
tag = "v${version}";
|
|
hash = "sha256-5qsRxKeWCndi2r1HaIX/bm92oOWU4J4eM9aud6ai8ZQ=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ linetable ];
|
|
|
|
nativeCheckInputs = [
|
|
babel
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "kajiki" ];
|
|
|
|
meta = with lib; {
|
|
description = "Module provides fast well-formed XML templates";
|
|
mainProgram = "kajiki";
|
|
homepage = "https://github.com/nandoflorestan/kajiki";
|
|
changelog = "https://github.com/jackrosenthal/kajiki/releases/tag/${src.tag}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|