2010-09-28 11:33:42 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
pname = "ctemplate";
|
2013-08-29 13:56:06 +02:00
|
|
|
version = "2.2";
|
2010-09-28 11:33:42 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-03-21 18:42:19 +01:00
|
|
|
url = "http://ctemplate.googlecode.com/files/${name}.tar.gz";
|
2013-08-29 13:56:06 +02:00
|
|
|
sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4";
|
2010-09-28 11:33:42 +02:00
|
|
|
};
|
|
|
|
}
|