From a79c16c397f19b243d2028f877da993e788f1baf Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Fri, 12 Aug 2022 21:49:03 +0200 Subject: [PATCH] python310Packages.Kajiki: 0.9.0 -> 0.9.1 --- pkgs/development/python-modules/kajiki/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/kajiki/default.nix b/pkgs/development/python-modules/kajiki/default.nix index 5a2829de0520..95a47baaeb04 100644 --- a/pkgs/development/python-modules/kajiki/default.nix +++ b/pkgs/development/python-modules/kajiki/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , babel , pytz , nine @@ -11,18 +11,22 @@ buildPythonPackage rec { pname = "kajiki"; version = "0.9.1"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-Qe/FTQ6YrHiVklP3HFG9HsT7Yny6we2+Ithcj2UFdp4="; + src = fetchFromGitHub { + owner = "jackrosenthal"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-bdQBVFHRB408/7X9y+3+fpllhymFRsdv/MEPTVjJh2E="; }; propagatedBuildInputs = [ babel pytz nine ]; + checkInputs = [ pytestCheckHook ]; meta = with lib; { description = "Kajiki provides fast well-formed XML templates"; homepage = "https://github.com/nandoflorestan/kajiki"; license = licenses.mit; + maintainers = with maintainers; [ onny ]; }; }