depot/third_party/nixpkgs/pkgs/development/libraries/librecast/default.nix

31 lines
831 B
Nix
Raw Normal View History

{
stdenv,
fetchFromGitea,
lcrq,
lib,
libsodium,
}:
stdenv.mkDerivation (finalAttrs: {
name = "librecast";
version = "0.8.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "librecast";
repo = "librecast";
rev = "v${finalAttrs.version}";
hash = "sha256-8Qit1KFazVG+2TEmSGXiBNawvpc7Ihr/0mx4KCzBoAY=";
};
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;
};
})