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