1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5, nose
6, jinja2
7, pyyaml
8}:
9
10buildPythonPackage rec {
11 pname = "j2cli";
12 version = "0.3.5.post1";
13 disabled = isPy3k;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "c0439a79308aae320bfd01d82b56893b02fe461195d8b69b438ba9b333075642";
18 };
19
20 buildInputs = [ nose ];
21 propagatedBuildInputs = [ jinja2 pyyaml ];
22
23 meta = with stdenv.lib; {
24 homepage = https://github.com/kolypto/j2cli;
25 description = "Jinja2 Command-Line Tool";
26 license = licenses.bsd3;
27 longDescription = ''
28 J2Cli is a command-line tool for templating in shell-scripts,
29 leveraging the Jinja2 library.
30 '';
31 maintainers = with maintainers; [ rushmorem ];
32 };
33
34}