diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2011-03-06 16:07:37 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2011-03-06 16:07:37 +0000 |
commit | c8f0c74eccc554a2b0d2935d093de5152d456105 (patch) | |
tree | 30388c2b6721648a9098f057bfda94f18ff90cdd /pkgs/tools/misc/vorbisgain | |
parent | ecf4f6b4e27fd437c8b5d6fcef6430cc91b190e0 (diff) |
Add vorbisgain - replaygain for ogg/vorbis
svn path=/nixpkgs/trunk/; revision=26176
Diffstat (limited to 'pkgs/tools/misc/vorbisgain')
-rw-r--r-- | pkgs/tools/misc/vorbisgain/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/tools/misc/vorbisgain/default.nix b/pkgs/tools/misc/vorbisgain/default.nix new file mode 100644 index 0000000000000..0c3fb21229339 --- /dev/null +++ b/pkgs/tools/misc/vorbisgain/default.nix @@ -0,0 +1,17 @@ +{ stdenv, fetchurl, unzip, libogg, libvorbis }: + +stdenv.mkDerivation rec { + name = "vorbisgain-0.34"; + + src = fetchurl { + url = "http://sjeng.org/ftp/vorbis/${name}.zip"; + sha256 = "1sjxl20ahhjv63b8a99sq9p14vz3lf1gacivkk0x2c11cc9zw4nr"; + }; + + buildInputs = [ unzip libogg libvorbis ]; + patchPhase = '' + chmod -v +x configure + sed -e 's/^ /\t/' -i Makefile.* + configureFlags="--mandir=$out/share/man" + ''; +} |