2014-12-22 04:26:17 +00:00
|
|
|
{ stdenv, fetchsvn, python }:
|
2010-09-28 10:33:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-22 04:26:17 +00:00
|
|
|
name = "ctemplate-${version}";
|
|
|
|
|
|
|
|
version = "2.3";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://ctemplate.googlecode.com/svn/tags/${name}";
|
|
|
|
sha256 = "1kvh82mhazf4qz7blnv0rcax7vi524dmz6v6rp89z2h3qjilbvc7";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
2015-01-08 09:26:49 +00:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2010-09-28 10:33:42 +01:00
|
|
|
meta = {
|
|
|
|
description = "A simple but powerful template language for C++";
|
|
|
|
longDescription = ''
|
|
|
|
CTemplate is a simple but powerful template language for C++. It
|
|
|
|
emphasizes separating logic from presentation: it is impossible to
|
2014-12-22 04:26:17 +00:00
|
|
|
embed application logic in this template language.
|
|
|
|
'';
|
2010-09-28 10:33:42 +01:00
|
|
|
homepage = http://code.google.com/p/google-ctemplate/;
|
|
|
|
license = "bsd";
|
|
|
|
};
|
|
|
|
}
|