2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, protobufc, libconfig }:
|
2012-09-25 17:35:03 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "umurmur";
|
2021-03-22 17:29:02 +00:00
|
|
|
version = "0.2.20";
|
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;
|
2021-03-22 17:29:02 +00:00
|
|
|
sha256 = "sha256-jp5+NbGmT90ksffvpLYIX2q5cPeVidDCYMPvLHCiP68=";
|
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
|
|
|
|
2023-01-13 00:24:22 +00:00
|
|
|
# https://github.com/umurmur/umurmur/issues/176
|
|
|
|
postPatch = ''
|
|
|
|
sed -i '/CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);/d' src/ssli_openssl.c
|
|
|
|
'';
|
|
|
|
|
2015-05-24 22:58:26 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-ssl=openssl"
|
|
|
|
"--enable-shmapi"
|
|
|
|
];
|
2012-09-25 17:35:03 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/umurmur/umurmur";
|
2015-02-06 21:15:23 +00:00
|
|
|
platforms = platforms.all;
|
2022-12-06 20:47:40 +00:00
|
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
2012-09-25 17:35:03 +00:00
|
|
|
};
|
|
|
|
}
|