From a7879236bd678da9e1afa6d8fd063bcaaec872ef Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Fri, 27 Feb 2015 12:10:04 +0100 Subject: [PATCH] mysql-workbench: fix build using libctemplate 2.2 --- .../libraries/libctemplate/2.2.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/libctemplate/2.2.nix diff --git a/pkgs/development/libraries/libctemplate/2.2.nix b/pkgs/development/libraries/libctemplate/2.2.nix new file mode 100644 index 000000000000..36652f7abc7e --- /dev/null +++ b/pkgs/development/libraries/libctemplate/2.2.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + 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"; + }; + + pname = "ctemplate"; + version = "2.2"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "http://ctemplate.googlecode.com/files/${name}.tar.gz"; + sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 17b40b1b8157..0b029cfdc4c5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6087,6 +6087,8 @@ let libctemplate = callPackage ../development/libraries/libctemplate { }; + libctemplate_2_2 = callPackage ../development/libraries/libctemplate/2.2.nix { }; + libcouchbase = callPackage ../development/libraries/libcouchbase { }; libcue = callPackage ../development/libraries/libcue { }; @@ -13402,6 +13404,7 @@ let mysqlWorkbench = newScope gnome ../applications/misc/mysql-workbench { lua = lua5_1; + libctemplate = libctemplate_2_2; inherit (pythonPackages) pexpect paramiko; };