nixpkgs-suyu/pkgs/development/python-modules/kajiki/default.nix
2023-05-19 08:03:54 +02:00

44 lines
871 B
Nix

{ lib
, babel
, buildPythonPackage
, fetchFromGitHub
, linetable
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "kajiki";
version = "0.9.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jackrosenthal";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-EbXe4Jh2IKAYw9GE0kFgKVv9c9uAOiFFYaMF8CGaOfg=";
};
propagatedBuildInputs = [
linetable
];
nativeCheckInputs = [
babel
pytestCheckHook
];
pythonImportsCheck = [
"kajiki"
];
meta = with lib; {
description = "Module provides fast well-formed XML templates";
homepage = "https://github.com/nandoflorestan/kajiki";
changelog = "https://github.com/jackrosenthal/kajiki/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}