at v206 741 B view raw
1{ stdenv, fetchsvn, python }: 2 3stdenv.mkDerivation rec { 4 name = "ctemplate-${version}"; 5 6 version = "2.3"; 7 8 src = fetchsvn { 9 url = "http://ctemplate.googlecode.com/svn/tags/${name}"; 10 sha256 = "1kvh82mhazf4qz7blnv0rcax7vi524dmz6v6rp89z2h3qjilbvc7"; 11 }; 12 13 buildInputs = [ python ]; 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 = http://code.google.com/p/google-ctemplate/; 27 license = "bsd"; 28 }; 29}