mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
libctemplate: bump version to 2.3
Fixes some C++11 issues.
This commit is contained in:
parent
23010cf71a
commit
c5b47329ce
@ -1,22 +1,29 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchsvn, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ctemplate-${version}";
|
||||
|
||||
version = "2.3";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://ctemplate.googlecode.com/svn/tags/${name}";
|
||||
sha256 = "1kvh82mhazf4qz7blnv0rcax7vi524dmz6v6rp89z2h3qjilbvc7";
|
||||
};
|
||||
|
||||
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. '';
|
||||
embed application logic in this template language.
|
||||
'';
|
||||
homepage = http://code.google.com/p/google-ctemplate/;
|
||||
license = "bsd";
|
||||
};
|
||||
|
||||
pname = "ctemplate";
|
||||
version = "2.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ctemplate.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user