2023-08-22 20:05:09 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitea,
|
|
|
|
lcrq,
|
|
|
|
lib,
|
|
|
|
libsodium,
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
name = "librecast";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.8.0";
|
2023-08-22 20:05:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "librecast";
|
|
|
|
repo = "librecast";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-8Qit1KFazVG+2TEmSGXiBNawvpc7Ihr/0mx4KCzBoAY=";
|
2023-08-22 20:05:09 +00:00
|
|
|
};
|
|
|
|
buildInputs = [ lcrq libsodium ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ];
|
|
|
|
platforms = lib.platforms.gnu;
|
|
|
|
};
|
|
|
|
})
|