lol
1{
2 stdenv,
3 fetchFromGitea,
4 lcrq,
5 lib,
6 libsodium,
7}:
8stdenv.mkDerivation (finalAttrs: {
9 name = "librecast";
10 version = "0.7.0";
11
12 src = fetchFromGitea {
13 domain = "codeberg.org";
14 owner = "librecast";
15 repo = "librecast";
16 rev = "v${finalAttrs.version}";
17 hash = "sha256-NlwYJJn1yewx92y6UKJcj6R2MnPn+XuEiKOmsR2oE3g=";
18 };
19 buildInputs = [ lcrq libsodium ];
20 installFlags = [ "PREFIX=$(out)" ];
21
22 meta = {
23 changelog = "https://codeberg.org/librecast/librecast/src/tag/v${finalAttrs.version}/CHANGELOG.md";
24 description = "IPv6 multicast library";
25 homepage = "https://librecast.net/librecast.html";
26 license = [ lib.licenses.gpl2 lib.licenses.gpl3 ];
27 maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ];
28 platforms = lib.platforms.gnu;
29 };
30})