mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
35 lines
712 B
Nix
35 lines
712 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, nose
|
|
, jinja2
|
|
, pyyaml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "j2cli";
|
|
version = "0.3.1-0";
|
|
disabled = isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0y3w1x9935qzx8w6m2r6g4ghyjmxn33wryiif6xb56q7cj9w1433";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|