mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
Merge pull request #8501 from rushmorem/package-j2cli
Add j2cli package, a shell script templating helper
This commit is contained in:
commit
ddade52f0e
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue