587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
39 lines
916 B
Nix
39 lines
916 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cmake
|
|
, libebur128
|
|
, taglib
|
|
, ffmpeg
|
|
, inih
|
|
, fmt
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rsgain";
|
|
version = "3.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "complexlogic";
|
|
repo = "rsgain";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-qIRtdgfGDNbZk9TQ3GC3lYetRqjOk8QPhAb4MuFuN0U=";
|
|
};
|
|
|
|
cmakeFlags = ["-DCMAKE_BUILD_TYPE='Release'"];
|
|
|
|
nativeBuildInputs = [pkg-config cmake];
|
|
buildInputs = [libebur128 taglib ffmpeg inih fmt zlib];
|
|
|
|
meta = with lib; {
|
|
description = "A 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];
|
|
};
|
|
}
|