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