github-backup: 0.48.0 -> 0.49.0 (#379003)
[NixPkgs.git] / pkgs / by-name / vo / vorbisgain / package.nix
blob6775b8d500fd3a4e347508e751ea075024fbf1e1
2   lib,
3   stdenv,
4   fetchurl,
5   libogg,
6   libvorbis,
7 }:
9 stdenv.mkDerivation rec {
10   pname = "vorbisgain";
11   version = "0.37";
13   src = fetchurl {
14     url = "https://sjeng.org/ftp/vorbis/vorbisgain-${version}.tar.gz";
15     sha256 = "1v1h6mhnckmvvn7345hzi9abn5z282g4lyyl4nnbqwnrr98v0vfx";
16   };
18   patches = [
19     ./isatty.patch
20     ./fprintf.patch
21   ];
23   buildInputs = [
24     libogg
25     libvorbis
26   ];
28   meta = with lib; {
29     homepage = "https://sjeng.org/vorbisgain.html";
30     description = "Utility that corrects the volume of an Ogg Vorbis file to a predefined standardized loudness";
31     license = licenses.gpl2Only;
32     platforms = platforms.unix;
33     maintainers = with maintainers; [ pSub ];
34     mainProgram = "vorbisgain";
35   };