summary refs log tree commit diff
path: root/pkgs/tools/misc/vorbisgain/default.nix
blob: 0c3fb2122933937463dd7687822def1b757f2797 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"
    '';
}