mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
40 lines
916 B
Nix
40 lines
916 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cmake
|
|
, libebur128
|
|
, taglib
|
|
, ffmpeg
|
|
, inih
|
|
, fmt
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rsgain";
|
|
version = "3.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "complexlogic";
|
|
repo = "rsgain";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-33ezojvCYAvxmUWzLxes3nUpK4iIWjlXsVSi+q7xeGU=";
|
|
};
|
|
|
|
cmakeFlags = ["-DCMAKE_BUILD_TYPE='Release'"];
|
|
|
|
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];
|
|
};
|
|
}
|