Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / kajiki / default.nix
bloba4c92ea35ed72c265b00699be872ea89b0b41e6a
1 { lib
2 , babel
3 , buildPythonPackage
4 , fetchFromGitHub
5 , linetable
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "kajiki";
12   version = "0.9.2";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "jackrosenthal";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-EbXe4Jh2IKAYw9GE0kFgKVv9c9uAOiFFYaMF8CGaOfg=";
22   };
24   propagatedBuildInputs = [
25     linetable
26   ];
28   nativeCheckInputs = [
29     babel
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "kajiki"
35   ];
37   meta = with lib; {
38     description = "Module provides fast well-formed XML templates";
39     mainProgram = "kajiki";
40     homepage = "https://github.com/nandoflorestan/kajiki";
41     changelog = "https://github.com/jackrosenthal/kajiki/releases/tag/v${version}";
42     license = licenses.mit;
43     maintainers = with maintainers; [ onny ];
44   };