2023-08-16 03:36:33 +02:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitea,
|
|
|
|
lcrq,
|
|
|
|
lib,
|
|
|
|
libsodium,
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
name = "librecast";
|
2023-08-23 01:38:04 +02:00
|
|
|
version = "0.7.0";
|
2023-08-16 03:36:33 +02:00
|
|
|
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "librecast";
|
|
|
|
repo = "librecast";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2023-08-23 01:38:04 +02:00
|
|
|
hash = "sha256-NlwYJJn1yewx92y6UKJcj6R2MnPn+XuEiKOmsR2oE3g=";
|
2023-08-16 03:36:33 +02: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;
|
|
|
|
};
|
|
|
|
})
|