2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip, libogg, libvorbis }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "vorbisgain-0.37";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://sjeng.org/ftp/vorbis/${name}.tar.gz";
|
|
|
|
sha256 = "1v1h6mhnckmvvn7345hzi9abn5z282g4lyyl4nnbqwnrr98v0vfx";
|
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
buildInputs = [ libogg libvorbis ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
chmod -v +x configure
|
|
|
|
configureFlags="--mandir=$out/share/man"
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://sjeng.org/vorbisgain.html";
|
|
|
|
description = "A utility that corrects the volume of an Ogg Vorbis file to a predefined standardized loudness";
|
|
|
|
license = licenses.gpl2;
|
2021-01-09 10:05:03 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|