diff --git a/all-packages.nix b/all-packages.nix index 588ca1ec3..6da9ac052 100644 --- a/all-packages.nix +++ b/all-packages.nix @@ -7,6 +7,7 @@ liberaforms = callPackage ./pkgs/liberaforms {}; liberaforms-env = callPackage ./pkgs/liberaforms/env.nix {}; libgnunetchat = callPackage ./pkgs/libgnunetchat {}; + librecast = callPackage ./pkgs/librecast { inherit lcrq; }; }; nixpkgs-candidates = { diff --git a/pkgs/librecast/default.nix b/pkgs/librecast/default.nix new file mode 100644 index 000000000..a14c1cf84 --- /dev/null +++ b/pkgs/librecast/default.nix @@ -0,0 +1,16 @@ +{ stdenv, pkgs, fetchFromGitea, lcrq, ... }: + +stdenv.mkDerivation rec { + name = "librecast"; + version = "0.6.1"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "librecast"; + repo = "librecast"; + rev = "v${version}"; + sha256 = "sha256-o7ZPczQOw45kAAyu0fHCTKTUC78W0gkuL2Qge0+1Pc4="; + }; + buildInputs = [ lcrq pkgs.libsodium ]; + installFlags = ["PREFIX=$(out)"]; +}