Adding umurmur and protobuf-c.

This commit is contained in:
Lluís Batlle i Rossell 2012-09-25 19:35:03 +02:00
parent ad0b63265c
commit 1bd6ee6556
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ stdenv, fetchurl, openssl, protobufc, libconfig }:
stdenv.mkDerivation rec {
name = "umurmur-0.2.10";
src = fetchurl {
url = "http://umurmur.googlecode.com/files/${name}.tar.gz";
sha256 = "0c990jvm73a6lajr1qlzw0p6nkshkh2nqwjmz2sq79pj0hm9ckvy";
};
buildInputs = [ openssl protobufc libconfig ];
configureFlags = "--with-ssl=openssl";
meta = {
description = "Minimalistic Murmur (Mumble server)";
license = "BSD";
homepage = http://code.google.com/p/umurmur/;
};
}

View file

@ -0,0 +1,22 @@
{ fetchurl, stdenv, zlib, protobuf }:
stdenv.mkDerivation rec {
name = "protobuf-c-0.15";
src = fetchurl {
url = "http://protobuf-c.googlecode.com/files/${name}.tar.gz";
sha256 = "0dh0180lzqk6n1r0qk38kgdy4x15mpkg5j4g2r31qhx52f757jwg";
};
buildInputs = [ protobuf ];
doCheck = true;
meta = {
description = "C bindings for Google's Protocol Buffers";
license = "BSD";
homepage = http://code.google.com/p/protobuf-c/;
};
}

View file

@ -4674,6 +4674,8 @@ let
protobuf = callPackage ../development/libraries/protobuf { };
protobufc = callPackage ../development/libraries/protobufc { };
pth = callPackage ../development/libraries/pth { };
ptlib = callPackage ../development/libraries/ptlib {};
@ -7767,6 +7769,8 @@ let
libzrtpcpp = libzrtpcpp_1_6;
};
umurmur = callPackage ../applications/networking/umurmur { };
unison = callPackage ../applications/networking/sync/unison {
inherit (ocamlPackages) lablgtk;
enableX11 = config.unison.enableX11 or true;