nixpkgs/pkgs/applications/networking/umurmur/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
949 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, protobufc, libconfig }:
2012-09-25 17:35:03 +00:00
stdenv.mkDerivation rec {
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 {
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
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
meta = with lib; {
2012-09-25 17:35:03 +00:00
description = "Minimalistic Murmur (Mumble server)";
license = licenses.bsd3;
homepage = "https://github.com/umurmur/umurmur";
2015-02-06 21:15:23 +00:00
platforms = platforms.all;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
2012-09-25 17:35:03 +00:00
};
}