35 lines
710 B
Nix
35 lines
710 B
Nix
|
{ stdenv
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, isPy3k
|
||
|
, nose
|
||
|
, jinja2
|
||
|
, pyyaml
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "shinto-cli";
|
||
|
version = "0.5.0";
|
||
|
disabled = isPy3k;
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "15ccc9mlw12qp5q8sdcfb7559bc4w1j39ch0c95d1n7c6ifffhn1";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ nose ];
|
||
|
propagatedBuildInputs = [ jinja2 pyyaml ];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
homepage = https://github.com/kolypto/j2cli;
|
||
|
description = "Jinja2 Command-Line Tool";
|
||
|
license = licenses.bsd3;
|
||
|
longDescription = ''
|
||
|
shinto-cli is a command-line tool for templating in shell-scripts,
|
||
|
leveraging the Jinja2 library.
|
||
|
'';
|
||
|
maintainers = with maintainers; [ ];
|
||
|
};
|
||
|
|
||
|
}
|