94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
44 lines
871 B
Nix
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 ];
|
|
};
|
|
}
|