about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/lcrq
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/lcrq')
-rw-r--r--nixpkgs/pkgs/development/libraries/lcrq/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/lcrq/default.nix b/nixpkgs/pkgs/development/libraries/lcrq/default.nix
new file mode 100644
index 000000000000..91a8e2e30f5b
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/lcrq/default.nix
@@ -0,0 +1,28 @@
+{
+  stdenv,
+  fetchFromGitea,
+  lib
+}:
+stdenv.mkDerivation (finalAttrs: {
+  name = "lcrq";
+  version = "0.1.1";
+
+  src = fetchFromGitea {
+    domain = "codeberg.org";
+    owner = "librecast";
+    repo = "lcrq";
+    rev = "v${finalAttrs.version}";
+    hash = "sha256-GvfmHST53qwVrztnmCzUVbVkgNGtAl5adqdNWOHItiU=";
+  };
+
+  installFlags = [ "PREFIX=$(out)" ];
+
+  meta = {
+    changelog = "https://codeberg.org/librecast/lcrq/src/tag/v${finalAttrs.version}/CHANGELOG.md";
+    description = "Librecast RaptorQ library.";
+    homepage = "https://librecast.net/lcrq.html";
+    license = [ lib.licenses.gpl2 lib.licenses.gpl3 ];
+    maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ];
+    platforms = lib.platforms.gnu;
+  };
+})