at master 888 B view raw
1{ 2 lib, 3 babel, 4 buildPythonPackage, 5 fetchFromGitHub, 6 linetable, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "kajiki"; 13 version = "1.0.1"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "jackrosenthal"; 20 repo = "kajiki"; 21 tag = "v${version}"; 22 hash = "sha256-5qsRxKeWCndi2r1HaIX/bm92oOWU4J4eM9aud6ai8ZQ="; 23 }; 24 25 propagatedBuildInputs = [ linetable ]; 26 27 nativeCheckInputs = [ 28 babel 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ "kajiki" ]; 33 34 meta = with lib; { 35 description = "Module provides fast well-formed XML templates"; 36 mainProgram = "kajiki"; 37 homepage = "https://github.com/nandoflorestan/kajiki"; 38 changelog = "https://github.com/jackrosenthal/kajiki/releases/tag/${src.tag}"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ onny ]; 41 }; 42}