base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / vo / vorbisgain / package.nix
blob80307144fd9ad49623d3dedce24e8ba969af67a0
1 { lib, stdenv, fetchurl, libogg, libvorbis }:
3 stdenv.mkDerivation rec {
4   pname = "vorbisgain";
5   version = "0.37";
7   src = fetchurl {
8     url = "https://sjeng.org/ftp/vorbis/vorbisgain-${version}.tar.gz";
9     sha256 = "1v1h6mhnckmvvn7345hzi9abn5z282g4lyyl4nnbqwnrr98v0vfx";
10   };
12   hardeningDisable = [ "format" ];
14   buildInputs = [ libogg libvorbis ];
16   patchPhase = ''
17     chmod -v +x configure
18     configureFlags="--mandir=$out/share/man"
19   '';
21   meta = with lib; {
22     homepage = "https://sjeng.org/vorbisgain.html";
23     description = "Utility that corrects the volume of an Ogg Vorbis file to a predefined standardized loudness";
24     license = licenses.gpl2Only;
25     platforms = platforms.unix;
26     maintainers = with maintainers; [ pSub ];
27     mainProgram = "vorbisgain";
28   };