nixpkgs/pkgs/development/python-modules/j2cli/default.nix
R. RyanTM 4e4018305b python27Packages.j2cli: 0.3.5.post1 -> 0.3.6.post1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python2.7-j2cli/versions

(cherry picked from commit b0f57c66eb32b0239a2c51ef7bdff9cd695e7aba)
2019-04-07 13:53:43 +02:00

34 lines
716 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, nose
, jinja2
, pyyaml
}:
buildPythonPackage rec {
pname = "j2cli";
version = "0.3.6.post1";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1j8s09b75w041b2lawjz341ri997n9fnxbd2ipm9czxj6fhj8hi2";
};
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 ];
};
}