Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
openssl,
|
|
protobufc,
|
|
libconfig,
|
|
nixosTests,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "umurmur";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "umurmur";
|
|
repo = "umurmur";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-pJRGyfG5y5wdB+zoWiJ1+2O1L3TThC6IairVDlE76tA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [
|
|
openssl
|
|
protobufc
|
|
libconfig
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-ssl=openssl"
|
|
"--enable-shmapi"
|
|
];
|
|
|
|
passthru = {
|
|
tests = {
|
|
inherit (nixosTests) umurmur;
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
description = "Minimalistic Murmur (Mumble server)";
|
|
license = lib.licenses.bsd3;
|
|
homepage = "https://github.com/umurmur/umurmur";
|
|
platforms = lib.platforms.all;
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
|
|
maintainers = with lib.maintainers; [ _3JlOy-PYCCKUi ];
|
|
mainProgram = "umurmurd";
|
|
};
|
|
})
|