python310Packages.Kajiki: 0.9.0 -> 0.9.1

This commit is contained in:
Jonas Heinrich 2022-08-12 21:49:03 +02:00 committed by Jonathan Ringer
parent 76aa29d2ed
commit a79c16c397

View file

@ -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 ];
};
}