1{ lib
2, buildPythonPackage
3, fetchPypi
4, jinja2
5, pyyaml
6, setuptools
7}:
8
9buildPythonPackage rec {
10 pname = "j2cli";
11 version = "0.3.10";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "6f6f643b3fa5c0f72fbe9f07e246f8e138052b9f689e14c7c64d582c59709ae4";
16 };
17
18 doCheck = false; # tests aren't installed thus aren't found, so skip
19 propagatedBuildInputs = [ jinja2 pyyaml setuptools ];
20
21 meta = with lib; {
22 homepage = "https://github.com/kolypto/j2cli";
23 description = "Jinja2 Command-Line Tool";
24 license = licenses.bsd2;
25 longDescription = ''
26 J2Cli is a command-line tool for templating in shell-scripts,
27 leveraging the Jinja2 library.
28 '';
29 maintainers = with maintainers; [ rushmorem SuperSandro2000 ];
30 };
31
32}