about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/librecast/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/librecast/default.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/librecast/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/librecast/default.nix b/nixpkgs/pkgs/development/libraries/librecast/default.nix
new file mode 100644
index 000000000000..1e8d02bf508d
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/librecast/default.nix
@@ -0,0 +1,30 @@
+{
+  stdenv,
+  fetchFromGitea,
+  lcrq,
+  lib,
+  libsodium,
+}:
+stdenv.mkDerivation (finalAttrs: {
+  name = "librecast";
+  version = "0.7-RC3";
+
+  src = fetchFromGitea {
+    domain = "codeberg.org";
+    owner = "librecast";
+    repo = "librecast";
+    rev = "v${finalAttrs.version}";
+    hash = "sha256-AD3MpWg8Lp+VkizwYTuuS2YWM8e0xaMEavVIvwhSZRo=";
+  };
+  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;
+  };
+})