diff --git a/all-packages.nix b/all-packages.nix index 588ca1ec3..3aa892b29 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..7a05feaf1 --- /dev/null +++ b/pkgs/librecast/default.nix @@ -0,0 +1,21 @@ +{ + 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)"]; +}