Unverified Commit 52d5f5d8 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

audio-recorder: drop (#476146)

parents c9176d06 aa2c38c7
Loading
Loading
Loading
Loading
+0 −71
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  pkg-config,
  intltool,
  glib,
  dbus,
  gtk3,
  libappindicator-gtk3,
  gst_all_1,
  librsvg,
  wrapGAppsHook3,
  pulseaudioSupport ? true,
  libpulseaudio,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "audio-recorder";
  version = "3.3.4";

  src = fetchurl {
    name = "audio-recorder-${finalAttrs.version}.tar.gz";
    url = "https://launchpad.net/~audio-recorder/+archive/ubuntu/ppa/+files/audio-recorder_${finalAttrs.version}%7Ejammy.tar.gz";
    hash = "sha256-RQ8zAT98EdVgdHENX0WDDYGvu7XjoB7f2FPv2JYJqug=";
  };

  # https://bugs.launchpad.net/audio-recorder/+bug/1784622
  env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";

  nativeBuildInputs = [
    pkg-config
    intltool
    wrapGAppsHook3
  ];

  buildInputs = [
    glib
    dbus
    gtk3
    librsvg
    libappindicator-gtk3
  ]
  ++ (with gst_all_1; [
    gstreamer
    gst-plugins-base
    gst-plugins-good
    gst-plugins-bad
    gst-plugins-ugly
    gst-libav
  ])
  ++ lib.optional pulseaudioSupport libpulseaudio;

  meta = {
    description = "Audio recorder for GNOME and Unity Desktops";
    mainProgram = "audio-recorder";
    longDescription = ''
      This program allows you to record your favourite music or audio to a file.
      It can record audio from your system soundcard, microphones, browsers and
      webcams. Put simply; if it plays out of your loudspeakers you can record it.
      This program has a timer that can start, stop or pause recording on certain
      conditions such as audio level, file size and clock time. This recorder can
      automatically record your Skype calls. It supports several audio (output)
      formats such as OGG audio, Flac, MP3 and WAV.
    '';
    homepage = "https://launchpad.net/~audio-recorder";
    license = lib.licenses.gpl3;
    platforms = lib.platforms.linux;
    maintainers = [ lib.maintainers.msteen ];
  };
})
+1 −0
Original line number Diff line number Diff line
@@ -320,6 +320,7 @@ mapAliases {
  asterisk_18 = throw "asterisk_18: Asterisk 18 is end of life and has been removed"; # Added 2025-10-19
  atlassian-cli = appfire-cli; # Added 2025-09-29
  ats = throw "'ats' has been removed as it is unmaintained for 10 years and broken"; # Added 2025-05-17
  audio-recorder = throw "'audio-recorder' has been removed, as it is unmaintained upstream and broken. Consider using 'gnome-sound-recorder' or 'reco' instead"; # Added 2026-01-02
  august = throw "'august' has been removed, as it has been unmaintained since august 2023"; # Added 2025-12-25
  AusweisApp2 = throw "'AusweisApp2' has been renamed to/replaced by 'ausweisapp'"; # Converted to throw 2025-10-27
  autoconf213 = throw "'autoconf213' has been removed in favor of 'autoconf'"; # Added 2025-07-21