Co-authored-by: Jason Odoom <jasonodoom@gmail.com> Co-authored-by: Anish Lakhwara <anish+git@lakhwara.com> Co-authored-by: Dominic Mills <dominic.millz27@gmail.com> Co-authored-by: Albert Chae <albertchae@users.noreply.github.com> Co-authored-by: Jack Leightcap <jack@leightcap.com>
31 lines
831 B
Nix
31 lines
831 B
Nix
{
|
|
stdenv,
|
|
fetchFromGitea,
|
|
lcrq,
|
|
lib,
|
|
libsodium,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
name = "librecast";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "librecast";
|
|
repo = "librecast";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-NlwYJJn1yewx92y6UKJcj6R2MnPn+XuEiKOmsR2oE3g=";
|
|
};
|
|
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;
|
|
};
|
|
})
|