2015-02-06 22:13:49 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, protobufc, libconfig }:
|
2012-09-25 19:35:03 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-06 22:13:49 +01:00
|
|
|
name = "umurmur-${version}";
|
2017-05-05 18:52:05 +02:00
|
|
|
version = "0.2.17";
|
2017-02-02 04:48:11 +01:00
|
|
|
|
2015-02-06 22:13:49 +01:00
|
|
|
src = fetchFromGitHub {
|
2017-05-05 18:52:05 +02:00
|
|
|
owner = "umurmur";
|
2015-02-06 22:13:49 +01:00
|
|
|
repo = "umurmur";
|
|
|
|
rev = version;
|
2017-05-05 18:52:05 +02:00
|
|
|
sha256 = "074px4ygmv4ydy2pqwxwnz17f0hfswqkz5kc9qfz0iby3h5i3fyl";
|
2012-09-25 19:35:03 +02:00
|
|
|
};
|
2017-02-02 04:48:11 +01:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl protobufc libconfig ];
|
2012-09-25 19:35:03 +02:00
|
|
|
|
2015-05-25 00:58:26 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-ssl=openssl"
|
|
|
|
"--enable-shmapi"
|
|
|
|
];
|
2012-09-25 19:35:03 +02:00
|
|
|
|
2014-12-21 00:00:35 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-09-25 19:35:03 +02:00
|
|
|
description = "Minimalistic Murmur (Mumble server)";
|
2014-12-21 00:00:35 +01:00
|
|
|
license = licenses.bsd3;
|
2017-05-05 18:52:05 +02:00
|
|
|
homepage = https://github.com/umurmur/umurmur;
|
2015-02-06 22:15:23 +01:00
|
|
|
platforms = platforms.all;
|
2012-09-25 19:35:03 +02:00
|
|
|
};
|
|
|
|
}
|