29 lines
768 B
Nix
29 lines
768 B
Nix
{ stdenv, fetchurl, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ctemplate-${version}";
|
|
|
|
version = "2.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-${version}.tar.gz";
|
|
sha256 = "0mi5g2xlws10z1g4x0cj6kd1r673kkav35pgzyqxa1w47xnwprcr";
|
|
};
|
|
|
|
buildInputs = [ python ];
|
|
|
|
postPatch = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
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
|
|
embed application logic in this template language.
|
|
'';
|
|
homepage = http://code.google.com/p/google-ctemplate/;
|
|
license = "bsd";
|
|
};
|
|
}
|