diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2014-12-21 23:26:17 -0500 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2014-12-24 22:48:01 -0500 |
commit | c5b47329ce86a44a1532b5d3d1b78e2713aa58c3 (patch) | |
tree | 847c878853eacb352c316dd8d08ecf0b4faa6058 /pkgs/development/libraries/libctemplate | |
parent | 23010cf71a848a5068880425a88dc05ec000c660 (diff) | |
download | nixlib-c5b47329ce86a44a1532b5d3d1b78e2713aa58c3.tar nixlib-c5b47329ce86a44a1532b5d3d1b78e2713aa58c3.tar.gz nixlib-c5b47329ce86a44a1532b5d3d1b78e2713aa58c3.tar.bz2 nixlib-c5b47329ce86a44a1532b5d3d1b78e2713aa58c3.tar.lz nixlib-c5b47329ce86a44a1532b5d3d1b78e2713aa58c3.tar.xz nixlib-c5b47329ce86a44a1532b5d3d1b78e2713aa58c3.tar.zst nixlib-c5b47329ce86a44a1532b5d3d1b78e2713aa58c3.zip |
libctemplate: bump version to 2.3
Fixes some C++11 issues.
Diffstat (limited to 'pkgs/development/libraries/libctemplate')
-rw-r--r-- | pkgs/development/libraries/libctemplate/default.nix | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/pkgs/development/libraries/libctemplate/default.nix b/pkgs/development/libraries/libctemplate/default.nix index 36652f7abc7e..142025c1e51d 100644 --- a/pkgs/development/libraries/libctemplate/default.nix +++ b/pkgs/development/libraries/libctemplate/default.nix @@ -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"; - }; } |