about summary refs log tree commit diff
path: root/pkgs/applications/audio/wavegain/default.nix
diff options
context:
space:
mode:
authorRobbin C <robbinch33@gmail.com>2015-06-03 11:06:24 +0800
committerRobbin C <robbinch33@gmail.com>2015-06-03 11:06:24 +0800
commit13ea5b65dbd081d395ed0d8e0bbf34762666b462 (patch)
treedcf3a17c17c138b5202d72aa5557d08a870549f3 /pkgs/applications/audio/wavegain/default.nix
parentef667f779fa27f61cbdc3063f7b80ce0b3e80baf (diff)
downloadnixlib-13ea5b65dbd081d395ed0d8e0bbf34762666b462.tar
nixlib-13ea5b65dbd081d395ed0d8e0bbf34762666b462.tar.gz
nixlib-13ea5b65dbd081d395ed0d8e0bbf34762666b462.tar.bz2
nixlib-13ea5b65dbd081d395ed0d8e0bbf34762666b462.tar.lz
nixlib-13ea5b65dbd081d395ed0d8e0bbf34762666b462.tar.xz
nixlib-13ea5b65dbd081d395ed0d8e0bbf34762666b462.tar.zst
nixlib-13ea5b65dbd081d395ed0d8e0bbf34762666b462.zip
wavegain: Add package.
This adds wavegain which is a normalizer for WAV audio files.
Diffstat (limited to 'pkgs/applications/audio/wavegain/default.nix')
-rw-r--r--pkgs/applications/audio/wavegain/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/audio/wavegain/default.nix b/pkgs/applications/audio/wavegain/default.nix
new file mode 100644
index 000000000000..2ce59f005fdd
--- /dev/null
+++ b/pkgs/applications/audio/wavegain/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchgit }:
+
+stdenv.mkDerivation {
+  name = "wavegain-1.3.1";
+  src = fetchgit {
+    url = "https://github.com/MestreLion/wavegain.git";
+    sha256 = "1h886xijc9d7h4p6qx12c6kgwmp6s1bdycnyylkayfncczzlbi24";
+  };
+
+  installPhase = ''
+    strip -s wavegain
+    install -vD wavegain "$out/bin/wavegain"
+  '';
+
+  meta = {
+    description = "ReplayGain for wave files";
+    homepage = https://github.com/MestreLion/wavegain;
+    license = stdenv.lib.licenses.lgpl21;
+    platforms = stdenv.lib.platforms.linux;
+    maintainers = [ stdenv.lib.maintainers.devhell ];
+  };
+}