diff options
author | Rushmore Mushambi <rushmore@webenchanter.com> | 2015-06-25 16:36:52 +0200 |
---|---|---|
committer | Rushmore Mushambi <rushmore@webenchanter.com> | 2015-06-25 16:36:52 +0200 |
commit | ddade52f0ea0ab8e44f3400036a4044a084c27d4 (patch) | |
tree | 639e426a0400d5b1376fc940e6e0e702774fa8b6 /pkgs | |
parent | 011993c86abf2742237da0d41ac23e02149a61be (diff) | |
parent | fad9d34452648e666ffe45e9056fb185bba0bd58 (diff) | |
download | nixlib-ddade52f0ea0ab8e44f3400036a4044a084c27d4.tar nixlib-ddade52f0ea0ab8e44f3400036a4044a084c27d4.tar.gz nixlib-ddade52f0ea0ab8e44f3400036a4044a084c27d4.tar.bz2 nixlib-ddade52f0ea0ab8e44f3400036a4044a084c27d4.tar.lz nixlib-ddade52f0ea0ab8e44f3400036a4044a084c27d4.tar.xz nixlib-ddade52f0ea0ab8e44f3400036a4044a084c27d4.tar.zst nixlib-ddade52f0ea0ab8e44f3400036a4044a084c27d4.zip |
Merge pull request #8501 from rushmorem/package-j2cli
Add j2cli package, a shell script templating helper
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f315b2e24abe..910d763bac38 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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"; |