pythonPackages.Kajiki: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-17 15:03:06 -04:00 committed by Frederik Rietdijk
parent 08b3dbea20
commit aecd6aeb11
2 changed files with 27 additions and 17 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, Babel
, pytz
, nine
}:
buildPythonPackage rec {
pname = "Kajiki";
version = "0.5.5";
src = fetchPypi {
inherit pname version;
sha256 = "effcae388e25c3358eb0bbd733448509d11a1ec500e46c69241fc673021f0517";
};
propagatedBuildInputs = [ Babel pytz nine ];
meta = with stdenv.lib; {
description = "Kajiki provides fast well-formed XML templates";
homepage = "https://github.com/nandoflorestan/kajiki";
license = licenses.mit;
};
}

View File

@ -3025,23 +3025,7 @@ in {
kaitaistruct = callPackage ../development/python-modules/kaitaistruct { };
Kajiki = buildPythonPackage rec {
name = "Kajiki-${version}";
version = "0.5.5";
src = pkgs.fetchurl {
url = "mirror://pypi/K/Kajiki/${name}.tar.gz";
sha256 = "effcae388e25c3358eb0bbd733448509d11a1ec500e46c69241fc673021f0517";
};
propagatedBuildInputs = with self; [
Babel pytz nine
];
meta = with stdenv.lib; {
description = "Kajiki provides fast well-formed XML templates";
homepage = "https://github.com/nandoflorestan/kajiki";
};
};
Kajiki = callPackage ../development/python-modules/kajiki { };
WSME = callPackage ../development/python-modules/WSME { };