mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
e9b7e01828
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python2.7-j2cli/versions
35 lines
710 B
Nix
35 lines
710 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, nose
|
|
, jinja2
|
|
, pyyaml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "j2cli";
|
|
version = "0.3.8";
|
|
disabled = isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1f1a5fzap4ji5l7x8bprrgcpy1071lpa9g5h8jz7iqzgqynkaygi";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|