mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
24 lines
725 B
Nix
24 lines
725 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ctemplate";
|
|
version = "2.2";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://ctemplate.googlecode.com/files/${name}.tar.gz";
|
|
sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4";
|
|
};
|
|
|
|
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";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|