2015-02-27 12:10:04 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-08-02 18:19:16 +02:00
|
|
|
pname = "ctemplate";
|
|
|
|
version = "2.2";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ctemplate.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4";
|
|
|
|
};
|
|
|
|
|
2015-02-27 12:10:04 +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
|
|
|
|
embed application logic in this template language. '';
|
|
|
|
homepage = http://code.google.com/p/google-ctemplate/;
|
|
|
|
license = "bsd";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-02-27 12:10:04 +01:00
|
|
|
};
|
|
|
|
}
|