mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
c8f0c74ecc
svn path=/nixpkgs/trunk/; revision=26176
18 lines
437 B
Nix
18 lines
437 B
Nix
{ 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"
|
|
'';
|
|
}
|