depot/third_party/nixpkgs/pkgs/by-name/rs/rsgain/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

37 lines
862 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, cmake
, libebur128
, taglib
, ffmpeg
, inih
, fmt
, zlib
}:
stdenv.mkDerivation rec {
pname = "rsgain";
version = "3.5.2";
src = fetchFromGitHub {
owner = "complexlogic";
repo = "rsgain";
rev = "v${version}";
hash = "sha256-kTvIMsRI99U2ovkN5pC4OUS/bJWpRYSuRcvObvQRnbQ=";
};
nativeBuildInputs = [pkg-config cmake];
buildInputs = [libebur128 taglib ffmpeg inih fmt zlib];
meta = with lib; {
description = "Simple, but powerful ReplayGain 2.0 tagging utility";
mainProgram = "rsgain";
homepage = "https://github.com/complexlogic/rsgain";
changelog = "https://github.com/complexlogic/rsgain/blob/v${version}/CHANGELOG";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = [maintainers.felipeqq2];
};
}