2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:
|
2015-06-14 12:37:55 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-03 07:57:37 -08:00
|
|
|
version = "1.2.5";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libebur128";
|
2015-06-14 12:37:55 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jiixyj";
|
|
|
|
repo = "libebur128";
|
|
|
|
rev = "v${version}";
|
2021-02-03 07:57:37 -08:00
|
|
|
sha256 = "sha256-B6MOSbLfPvadXtXHSvxZCIpAH1Bnj6sItYRp+xH5HDA=";
|
2015-06-14 12:37:55 -07:00
|
|
|
};
|
|
|
|
|
2020-12-30 23:48:55 -08:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ speexdsp ];
|
2015-06-14 12:37:55 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2015-06-14 12:37:55 -07:00
|
|
|
description = "Implementation of the EBU R128 loudness standard";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/jiixyj/libebur128";
|
2015-06-14 12:37:55 -07:00
|
|
|
license = licenses.mit;
|
2015-06-18 11:52:39 -07:00
|
|
|
maintainers = [ maintainers.andrewrk ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = platforms.unix;
|
2015-06-14 12:37:55 -07:00
|
|
|
};
|
|
|
|
}
|