2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:
|
2015-06-14 20:37:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-16 07:53:05 +00:00
|
|
|
version = "1.2.6";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libebur128";
|
2015-06-14 20:37:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jiixyj";
|
|
|
|
repo = "libebur128";
|
|
|
|
rev = "v${version}";
|
2021-02-16 07:53:05 +00:00
|
|
|
sha256 = "sha256-UKO2k+kKH/dwt2xfaYMrH/GXjEkIrnxh1kGG/3P5d3Y=";
|
2015-06-14 20:37:55 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ speexdsp ];
|
2015-06-14 20:37:55 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-06-14 20:37:55 +01:00
|
|
|
description = "Implementation of the EBU R128 loudness standard";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jiixyj/libebur128";
|
2015-06-14 20:37:55 +01:00
|
|
|
license = licenses.mit;
|
2015-06-18 19:52:39 +01:00
|
|
|
maintainers = [ maintainers.andrewrk ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2015-06-14 20:37:55 +01:00
|
|
|
};
|
|
|
|
}
|