summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorJames Wood <jammyatjammy@gmail.com>2016-09-13 06:06:23 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2016-09-13 07:06:23 +0200
commit87ee2736ce61d53f2919b155749c4cc3594cc6f1 (patch)
tree25d9d4b97c748f97ea5caef2377c5504b55a514e /pkgs/applications/audio
parenteabecc19e06fadb7446cdf5c475dfb3eb30a9f08 (diff)
downloadnixpkgs-87ee2736ce61d53f2919b155749c4cc3594cc6f1.tar
nixpkgs-87ee2736ce61d53f2919b155749c4cc3594cc6f1.tar.gz
nixpkgs-87ee2736ce61d53f2919b155749c4cc3594cc6f1.tar.bz2
nixpkgs-87ee2736ce61d53f2919b155749c4cc3594cc6f1.tar.lz
nixpkgs-87ee2736ce61d53f2919b155749c4cc3594cc6f1.tar.xz
nixpkgs-87ee2736ce61d53f2919b155749c4cc3594cc6f1.tar.zst
nixpkgs-87ee2736ce61d53f2919b155749c4cc3594cc6f1.zip
asunder: init at 2.8 (#18510)
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/asunder/default.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/applications/audio/asunder/default.nix b/pkgs/applications/audio/asunder/default.nix
new file mode 100644
index 00000000000..0ddb7143bc2
--- /dev/null
+++ b/pkgs/applications/audio/asunder/default.nix
@@ -0,0 +1,51 @@
+{ stdenv, fetchurl, makeWrapper, gtk, libcddb, intltool, pkgconfig, cdparanoia
+, mp3Support ? false, lame
+, oggSupport ? true, vorbis-tools
+, flacSupport ? true, flac
+, opusSupport ? false, opusTools
+, wavpackSupport ? false, wavpack
+#, musepackSupport ? false, TODO: mpcenc
+, monkeysAudioSupport ? false, monkeysAudio
+#, aacSupport ? false, TODO: neroAacEnc
+}:
+
+with stdenv.lib;
+
+stdenv.mkDerivation rec {
+  version = "2.8";
+  name = "asunder-${version}";
+  src = fetchurl {
+    url = "http://littlesvr.ca/asunder/releases/${name}.tar.bz2";
+    sha256 = "1nq9kd4rd4k2kibf57gdbm0zw2gxa234vvvdhxkm8g5bhx5h3iyq";
+  };
+
+  buildInputs = [ gtk libcddb intltool pkgconfig makeWrapper ];
+
+  runtimeDeps =
+    optional mp3Support lame ++
+    optional oggSupport vorbis-tools ++
+    optional flacSupport flac ++
+    optional opusSupport opusTools ++
+    optional wavpackSupport wavpack ++
+    optional monkeysAudioSupport monkeysAudio ++
+    [ cdparanoia ];
+
+  postInstall = ''
+    wrapProgram "$out/bin/asunder" \
+      --prefix PATH : "${makeBinPath runtimeDeps}"
+  '';
+
+  meta = {
+    description = "A graphical Audio CD ripper and encoder for Linux";
+    homepage = http://littlesvr.ca/asunder/index.php;
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ mudri ];
+    platforms = platforms.linux;
+
+    longDescription = ''
+      Asunder is a graphical Audio CD ripper and encoder for Linux. You can use
+      it to save tracks from an Audio CD as any of WAV, MP3, OGG, FLAC, Opus,
+      WavPack, Musepack, AAC, and Monkey's Audio files.
+    '';
+  };
+}