2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-13 14:23:35 +00:00
|
|
|
version = "1.2.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libebur128";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jiixyj";
|
|
|
|
repo = "libebur128";
|
|
|
|
rev = "v${version}";
|
2021-02-13 14:23:35 +00:00
|
|
|
sha256 = "sha256-B6MOSbLfPvadXtXHSvxZCIpAH1Bnj6sItYRp+xH5HDA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ speexdsp ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Implementation of the EBU R128 loudness standard";
|
|
|
|
homepage = "https://github.com/jiixyj/libebur128";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.andrewrk ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|