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-08-05 21:33:18 +00:00
|
|
|
version = "1.2.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libebur128";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jiixyj";
|
|
|
|
repo = "libebur128";
|
|
|
|
rev = "v${version}";
|
2021-08-05 21:33:18 +00:00
|
|
|
sha256 = "sha256-UKO2k+kKH/dwt2xfaYMrH/GXjEkIrnxh1kGG/3P5d3Y=";
|
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;
|
|
|
|
};
|
|
|
|
}
|