2018-10-15 20:36:16 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, jinja2
|
|
|
|
, pyyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "j2cli";
|
2019-06-17 19:04:04 +00:00
|
|
|
version = "0.3.10";
|
2018-10-15 20:36:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-17 19:04:04 +00:00
|
|
|
sha256 = "6f6f643b3fa5c0f72fbe9f07e246f8e138052b9f689e14c7c64d582c59709ae4";
|
2018-10-15 20:36:16 +00:00
|
|
|
};
|
|
|
|
|
2019-06-17 19:04:04 +00:00
|
|
|
checkInputs = [ nose ];
|
2018-10-15 20:36:16 +00:00
|
|
|
propagatedBuildInputs = [ jinja2 pyyaml ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-06-17 19:04:04 +00:00
|
|
|
homepage = "https://github.com/kolypto/j2cli";
|
2018-10-15 20:36:16 +00:00
|
|
|
description = "Jinja2 Command-Line Tool";
|
2019-06-17 19:04:04 +00:00
|
|
|
license = licenses.bsd2;
|
2018-10-15 20:36:16 +00:00
|
|
|
longDescription = ''
|
|
|
|
J2Cli is a command-line tool for templating in shell-scripts,
|
|
|
|
leveraging the Jinja2 library.
|
|
|
|
'';
|
|
|
|
maintainers = with maintainers; [ rushmorem ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|