47 lines
1002 B
Nix
47 lines
1002 B
Nix
{
|
|
stdenv,
|
|
fetchFromGitea,
|
|
lcrq,
|
|
lib,
|
|
libsodium,
|
|
nix-update-script,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "librecast";
|
|
version = "0.11.2";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "librecast";
|
|
repo = "librecast";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-FFumVHTobvcty3x26IAMHP8M3fYrnfLtxt/RJ/4vKBg=";
|
|
};
|
|
buildInputs = [
|
|
lcrq
|
|
libsodium
|
|
];
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
changelog = "https://codeberg.org/librecast/librecast/src/tag/v${finalAttrs.version}/CHANGELOG.md";
|
|
description = "IPv6 multicast library";
|
|
homepage = "https://librecast.net/librecast.html";
|
|
license = with lib.licenses; [
|
|
gpl2Only
|
|
gpl3Only
|
|
];
|
|
maintainers = with lib.maintainers; [
|
|
albertchae
|
|
aynish
|
|
DMills27
|
|
jasonodoom
|
|
jleightcap
|
|
];
|
|
teams = with lib.teams; [ ngi ];
|
|
platforms = lib.platforms.gnu;
|
|
};
|
|
})
|