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