2017-02-08 19:38:53 +01:00
|
|
|
{ stdenv, fetchurl, python2 }:
|
2010-09-28 11:33:42 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-22 05:26:17 +01:00
|
|
|
name = "ctemplate-${version}";
|
|
|
|
|
|
|
|
version = "2.3";
|
|
|
|
|
2016-09-17 07:44:12 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-${version}.tar.gz";
|
|
|
|
sha256 = "0mi5g2xlws10z1g4x0cj6kd1r673kkav35pgzyqxa1w47xnwprcr";
|
2014-12-22 05:26:17 +01:00
|
|
|
};
|
|
|
|
|
2017-02-08 19:38:53 +01:00
|
|
|
buildInputs = [ python2 ];
|
2014-12-22 05:26:17 +01:00
|
|
|
|
2015-01-08 10:26:49 +01:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
|
|
|
|
2010-09-28 11:33:42 +02: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 05:26:17 +01:00
|
|
|
embed application logic in this template language.
|
|
|
|
'';
|
2010-09-28 11:33:42 +02:00
|
|
|
homepage = http://code.google.com/p/google-ctemplate/;
|
|
|
|
license = "bsd";
|
|
|
|
};
|
|
|
|
}
|