git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8501 from rushmorem/package-j2cli

Add j2cli package, a shell script templating helper

commitddade52f0ea0ab8e44f3400036a4044a084c27d4 authorRushmore Mushambi <rushmore@webenchanter.com> dateThu 25 Jun 2015, 16:36 (11 years ago) parent011993cfad9d34
1 file changed+28
pkgs/top-level/python-packages.nix+28
pkgs/top-level/python-packages.nix+28
@@ -6496,6 +6496,34 @@ let
64966496 };
64976497 };
64986498
6499+ j2cli = buildPythonPackage rec {
6500+ name = "j2cli-${version}";
6501+ version = "0.3.1-0";
6502+
6503+ src = pkgs.fetchurl {
6504+ url = "https://pypi.python.org/packages/source/j/j2cli/${name}.tar.gz";
6505+ sha256 = "0y3w1x9935qzx8w6m2r6g4ghyjmxn33wryiif6xb56q7cj9w1433";
6506+ };
6507+
6508+ disabled = ! (isPy26 || isPy27);
6509+
6510+ buildInputs = [ self.nose ];
6511+
6512+ propagatedBuildInputs = with self; [ jinja2 pyyaml ];
6513+
6514+ meta = {
6515+ homepage = https://github.com/kolypto/j2cli;
6516+ description = "Jinja2 Command-Line Tool";
6517+ license = licenses.bsd3;
6518+ longDescription = ''
6519+ J2Cli is a command-line tool for templating in shell-scripts,
6520+ leveraging the Jinja2 library.
6521+ '';
6522+ platforms = platforms.all;
6523+ maintainers = with maintainers; [ rushmorem ];
6524+ };
6525+ };
6526+
64996527 jinja2 = buildPythonPackage rec {
65006528 name = "Jinja2-2.7.3";
65016529