diff options
author | Felipe Silva <git@felipeqq2.rocks> | 2023-12-22 21:29:42 -0300 |
---|---|---|
committer | Felipe Silva <git@felipeqq2.rocks> | 2023-12-22 21:29:42 -0300 |
commit | c444b7b52cd6b37528a13545754c9981ed657c47 (patch) | |
tree | fb7c2fbec1bc4b4346b1a0a180f628fe68d907c6 /pkgs/by-name/rs | |
parent | 8b2a3409f513717d569e725f54b9da629a7a662c (diff) |
rsgain: init at 3.4
Diffstat (limited to 'pkgs/by-name/rs')
-rw-r--r-- | pkgs/by-name/rs/rsgain/package.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/by-name/rs/rsgain/package.nix b/pkgs/by-name/rs/rsgain/package.nix new file mode 100644 index 0000000000000..79b86ca95493b --- /dev/null +++ b/pkgs/by-name/rs/rsgain/package.nix @@ -0,0 +1,38 @@ +{ lib +, stdenv +, fetchFromGitHub +, pkg-config +, cmake +, libebur128 +, taglib +, ffmpeg +, inih +, fmt +, zlib +}: + +stdenv.mkDerivation rec { + pname = "rsgain"; + version = "3.4"; + + src = fetchFromGitHub { + owner = "complexlogic"; + repo = "rsgain"; + rev = "v${version}"; + sha256 = "sha256-AiNjsrwTF6emcwXo2TPMbs8mLavGS7NsvytAppMGKfY="; + }; + + 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"; + 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]; + }; +} |