diff options
author | Robin Gloster <mail@glob.in> | 2016-08-03 13:34:44 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-08-03 13:34:44 +0000 |
commit | 1b979d83845945dabffebff5033cf864b41d5c64 (patch) | |
tree | 6e81ba4ab8cd28ad9fc8d9e2a3a298bc5a403042 /pkgs/development/libraries/libctemplate/2.2.nix | |
parent | 3f9e8601f2a8537de90f04375400538049bbdaf2 (diff) | |
parent | d93f917182dc5da7aca53fb9a847374ec0c7429a (diff) | |
download | nixpkgs-1b979d83845945dabffebff5033cf864b41d5c64.tar nixpkgs-1b979d83845945dabffebff5033cf864b41d5c64.tar.gz nixpkgs-1b979d83845945dabffebff5033cf864b41d5c64.tar.bz2 nixpkgs-1b979d83845945dabffebff5033cf864b41d5c64.tar.lz nixpkgs-1b979d83845945dabffebff5033cf864b41d5c64.tar.xz nixpkgs-1b979d83845945dabffebff5033cf864b41d5c64.tar.zst nixpkgs-1b979d83845945dabffebff5033cf864b41d5c64.zip |
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/development/libraries/libctemplate/2.2.nix')
-rw-r--r-- | pkgs/development/libraries/libctemplate/2.2.nix | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/pkgs/development/libraries/libctemplate/2.2.nix b/pkgs/development/libraries/libctemplate/2.2.nix index 36652f7abc7..7440039eec9 100644 --- a/pkgs/development/libraries/libctemplate/2.2.nix +++ b/pkgs/development/libraries/libctemplate/2.2.nix @@ -1,6 +1,15 @@ { 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 = '' @@ -9,14 +18,6 @@ stdenv.mkDerivation rec { 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"; + platforms = stdenv.lib.platforms.unix; }; } |