2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, protobufc, libconfig }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "umurmur";
|
2021-03-20 04:20:00 +00:00
|
|
|
version = "0.2.20";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "umurmur";
|
|
|
|
repo = "umurmur";
|
|
|
|
rev = version;
|
2021-03-20 04:20:00 +00:00
|
|
|
sha256 = "sha256-jp5+NbGmT90ksffvpLYIX2q5cPeVidDCYMPvLHCiP68=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ openssl protobufc libconfig ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-ssl=openssl"
|
|
|
|
"--enable-shmapi"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Minimalistic Murmur (Mumble server)";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = "https://github.com/umurmur/umurmur";
|
|
|
|
platforms = platforms.all;
|
2022-12-17 10:02:37 +00:00
|
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|