22 stdenv.mkDerivation (finalAttrs: {
23 pname = "audio-sharing";
26 src = fetchFromGitLab {
27 domain = "gitlab.gnome.org";
29 repo = "AudioSharing";
30 rev = finalAttrs.version;
31 hash = "sha256-yUMiy5DaCPfCmBIGCXpqtvSSmQl5wo6vsLdW7Tt/Wfo=";
34 cargoDeps = rustPlatform.fetchCargoTarball {
35 inherit (finalAttrs) src;
36 name = "${finalAttrs.pname}-${finalAttrs.version}";
37 hash = "sha256-FfjSttXf6WF2w59CP6L/+BIuuXp2yKPTku7FMvdIHg0=";
51 ] ++ (with rustPlatform; [
57 gst_all_1.gst-plugins-base
58 gst_all_1.gst-plugins-good # pulsesrc
59 gst_all_1.gst-rtsp-server
67 updateScript = nix-update-script { };
71 homepage = "https://gitlab.gnome.org/World/AudioSharing";
72 description = "Automatically share the current audio playback in the form of an RTSP stream";
73 mainProgram = "audio-sharing";
74 maintainers = with maintainers; [ benediktbroich ];
75 license = licenses.gpl3Plus;
76 platforms = platforms.linux;