1 { lib, stdenv, fetchurl
3 , glib, dbus, gtk3, libappindicator-gtk3, gst_all_1
4 , librsvg, wrapGAppsHook
5 , pulseaudioSupport ? true, libpulseaudio }:
7 stdenv.mkDerivation rec {
8 pname = "audio-recorder";
12 name = "${pname}-${version}.tar.gz";
13 url = "${meta.homepage}/+archive/ubuntu/ppa/+files/audio-recorder_${version}%7Ebionic.tar.gz";
14 sha256 = "160pnmnmc9zwzyclsci3w1qwlgxkfx1y3x5ck6i587w78570an1r";
17 # https://bugs.launchpad.net/audio-recorder/+bug/1784622
18 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
20 nativeBuildInputs = [ pkg-config intltool wrapGAppsHook ];
23 glib dbus gtk3 librsvg libappindicator-gtk3
24 ] ++ (with gst_all_1; [
25 gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav
26 ]) ++ lib.optional pulseaudioSupport libpulseaudio;
29 description = "Audio recorder for GNOME and Unity Desktops";
30 mainProgram = "audio-recorder";
32 This program allows you to record your favourite music or audio to a file.
33 It can record audio from your system soundcard, microphones, browsers and
34 webcams. Put simply; if it plays out of your loudspeakers you can record it.
35 This program has a timer that can start, stop or pause recording on certain
36 conditions such as audio level, file size and clock time. This recorder can
37 automatically record your Skype calls. It supports several audio (output)
38 formats such as OGG audio, Flac, MP3 and WAV.
40 homepage = "https://launchpad.net/~audio-recorder";
41 license = licenses.gpl3;
42 platforms = platforms.linux;
43 maintainers = [ maintainers.msteen ];