librecast: clean up & add updateScript and NGI team (#423145)

This commit is contained in:
Aleksana
2025-07-07 17:04:18 +08:00
committed by GitHub
+8 -4
View File
@@ -4,6 +4,7 @@
lcrq,
lib,
libsodium,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "librecast";
@@ -13,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: {
domain = "codeberg.org";
owner = "librecast";
repo = "librecast";
rev = "v${finalAttrs.version}";
tag = "v${finalAttrs.version}";
hash = "sha256-FFumVHTobvcty3x26IAMHP8M3fYrnfLtxt/RJ/4vKBg=";
};
buildInputs = [
@@ -22,13 +23,15 @@ stdenv.mkDerivation (finalAttrs: {
];
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 = [
lib.licenses.gpl2
lib.licenses.gpl3
license = with lib.licenses; [
gpl2Only
gpl3Only
];
maintainers = with lib.maintainers; [
albertchae
@@ -37,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
jasonodoom
jleightcap
];
teams = with lib.teams; [ ngi ];
platforms = lib.platforms.gnu;
};
})