mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #220842 from felipeqq2/init/rsgain
rsgain: init at 3.4
This commit is contained in:
commit
fdbdb2d282
38
pkgs/by-name/rs/rsgain/package.nix
Normal file
38
pkgs/by-name/rs/rsgain/package.nix
Normal file
|
@ -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];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue