mysql-workbench: fix build using libctemplate 2.2

This commit is contained in:
Luca Bruno 2015-02-27 12:10:04 +01:00
parent fc966aead0
commit a7879236bd
2 changed files with 25 additions and 0 deletions

View file

@ -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";
};
}

View file

@ -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;
};