nixpkgs/pkgs/development/libraries/libebur128/default.nix
2020-04-10 17:54:53 +01:00

25 lines
641 B
Nix

{ stdenv, fetchFromGitHub, cmake, speexdsp, pkgconfig }:
stdenv.mkDerivation rec {
version = "1.2.4";
pname = "libebur128";
src = fetchFromGitHub {
owner = "jiixyj";
repo = "libebur128";
rev = "v${version}";
sha256 = "0n81rnm8dm1zmibkr2v3q79rsd609y0dbbsrbay18njcjva88p0g";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake speexdsp ];
meta = with stdenv.lib; {
description = "Implementation of the EBU R128 loudness standard";
homepage = "https://github.com/jiixyj/libebur128";
license = licenses.mit;
maintainers = [ maintainers.andrewrk ];
platforms = platforms.unix;
};
}