23 stdenv.mkDerivation (finalAttrs: {
24 pname = "audio-sharing";
27 src = fetchFromGitLab {
28 domain = "gitlab.gnome.org";
30 repo = "AudioSharing";
31 rev = finalAttrs.version;
32 hash = "sha256-yUMiy5DaCPfCmBIGCXpqtvSSmQl5wo6vsLdW7Tt/Wfo=";
35 cargoDeps = rustPlatform.fetchCargoTarball {
36 inherit (finalAttrs) src;
37 name = "${finalAttrs.pname}-${finalAttrs.version}";
38 hash = "sha256-FfjSttXf6WF2w59CP6L/+BIuuXp2yKPTku7FMvdIHg0=";
54 ++ (with rustPlatform; [
60 gst_all_1.gst-plugins-base
61 gst_all_1.gst-plugins-good # pulsesrc
62 gst_all_1.gst-rtsp-server
70 updateScript = nix-update-script { };
74 homepage = "https://gitlab.gnome.org/World/AudioSharing";
75 description = "Automatically share the current audio playback in the form of an RTSP stream";
76 mainProgram = "audio-sharing";
77 maintainers = with maintainers; [ benediktbroich ] ++ lib.teams.gnome-circle.members;
78 license = licenses.gpl3Plus;
79 platforms = platforms.linux;