pythonPackages.j2cli: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 16:36:16 -04:00
committed by Frederik Rietdijk
parent d430e7ece1
commit 1ff519e090
2 changed files with 35 additions and 27 deletions

View File

@@ -0,0 +1,34 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, nose
, jinja2
, pyyaml
}:
buildPythonPackage rec {
pname = "j2cli";
version = "0.3.1-0";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0y3w1x9935qzx8w6m2r6g4ghyjmxn33wryiif6xb56q7cj9w1433";
};
buildInputs = [ nose ];
propagatedBuildInputs = [ jinja2 pyyaml ];
meta = with stdenv.lib; {
homepage = https://github.com/kolypto/j2cli;
description = "Jinja2 Command-Line Tool";
license = licenses.bsd3;
longDescription = ''
J2Cli is a command-line tool for templating in shell-scripts,
leveraging the Jinja2 library.
'';
maintainers = with maintainers; [ rushmorem ];
};
}