diff --git a/pkgs/development/python-modules/kajiki/default.nix b/pkgs/development/python-modules/kajiki/default.nix index 7ebd9d6cdbd..e11e16fbedb 100644 --- a/pkgs/development/python-modules/kajiki/default.nix +++ b/pkgs/development/python-modules/kajiki/default.nix @@ -1,15 +1,18 @@ { lib +, babel , buildPythonPackage , fetchFromGitHub -, babel -, pytz -, nine +, linetable , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "kajiki"; version = "0.9.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "jackrosenthal"; @@ -18,15 +21,24 @@ buildPythonPackage rec { hash = "sha256-EbXe4Jh2IKAYw9GE0kFgKVv9c9uAOiFFYaMF8CGaOfg="; }; - propagatedBuildInputs = [ babel pytz nine ]; + propagatedBuildInputs = [ + linetable + ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + babel + pytestCheckHook + ]; + + pythonImportsCheck = [ + "kajiki" + ]; meta = with lib; { - description = "Kajiki provides fast well-formed XML templates"; + 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 ]; }; - }