tools/audio/loudgain: init at 0.6.8

https://github.com/Moonbase59/loudgain
This commit is contained in:
Emery Hemingway 2022-09-25 10:46:37 -05:00 committed by ehmry
parent 797caa150c
commit d10e09d6d7
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, ffmpeg, libebur128
, libresample, taglib, zlib }:
stdenv.mkDerivation rec {
pname = "loudgain";
version = "0.6.8";
src = fetchFromGitHub {
owner = "Moonbase59";
repo = pname;
rev = "v${version}";
hash = "sha256-XLj+n0GlY/GAkJlW2JVMd0jxMzgdv/YeSTuF6QUIGwU=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ ffmpeg libebur128 libresample taglib zlib ];
postInstall = ''
sed -e "1aPATH=$out/bin:\$PATH" -i "$out/bin/rgbpm"
'';
meta = src.meta // {
license = lib.licenses.free;
maintainers = with lib.maintainers; [ ehmry ];
};
}

View File

@ -8463,6 +8463,8 @@ with pkgs;
lottieconverter = callPackage ../tools/misc/lottieconverter { };
loudgain = callPackage ../tools/audio/loudgain/default.nix { };
lpcnetfreedv = callPackage ../development/libraries/lpcnetfreedv { };
lsd = callPackage ../tools/misc/lsd { };