at 18.03-beta 29 lines 786 B view raw
1{ stdenv, fetchurl, python2 }: 2 3stdenv.mkDerivation rec { 4 name = "ctemplate-${version}"; 5 6 version = "2.3"; 7 8 src = fetchurl { 9 url = "https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-${version}.tar.gz"; 10 sha256 = "0mi5g2xlws10z1g4x0cj6kd1r673kkav35pgzyqxa1w47xnwprcr"; 11 }; 12 13 buildInputs = [ python2 ]; 14 15 postPatch = '' 16 patchShebangs . 17 ''; 18 19 meta = { 20 description = "A simple but powerful template language for C++"; 21 longDescription = '' 22 CTemplate is a simple but powerful template language for C++. It 23 emphasizes separating logic from presentation: it is impossible to 24 embed application logic in this template language. 25 ''; 26 homepage = https://github.com/OlafvdSpek/ctemplate; 27 license = stdenv.lib.licenses.bsd3; 28 }; 29}