3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #8501 from rushmorem/package-j2cli

Add j2cli package, a shell script templating helper
This commit is contained in:
Rushmore Mushambi 2015-06-25 16:36:52 +02:00
commit ddade52f0e

View file

@ -6496,6 +6496,34 @@ let
};
};
j2cli = buildPythonPackage rec {
name = "j2cli-${version}";
version = "0.3.1-0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/j/j2cli/${name}.tar.gz";
sha256 = "0y3w1x9935qzx8w6m2r6g4ghyjmxn33wryiif6xb56q7cj9w1433";
};
disabled = ! (isPy26 || isPy27);
buildInputs = [ self.nose ];
propagatedBuildInputs = with self; [ jinja2 pyyaml ];
meta = {
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.
'';
platforms = platforms.all;
maintainers = with maintainers; [ rushmorem ];
};
};
jinja2 = buildPythonPackage rec {
name = "Jinja2-2.7.3";