2015-06-14 21:37:55 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, speexdsp, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 05:21:32 +01:00
|
|
|
version = "1.2.4";
|
2015-06-14 21:37:55 +02:00
|
|
|
name = "libebur128-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jiixyj";
|
|
|
|
repo = "libebur128";
|
|
|
|
rev = "v${version}";
|
2018-02-27 05:21:32 +01:00
|
|
|
sha256 = "0n81rnm8dm1zmibkr2v3q79rsd609y0dbbsrbay18njcjva88p0g";
|
2015-06-14 21:37:55 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake speexdsp ];
|
2015-06-14 21:37:55 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Implementation of the EBU R128 loudness standard";
|
|
|
|
homepage = https://github.com/jiixyj/libebur128;
|
|
|
|
license = licenses.mit;
|
2015-06-18 20:52:39 +02:00
|
|
|
maintainers = [ maintainers.andrewrk ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.unix;
|
2015-06-14 21:37:55 +02:00
|
|
|
};
|
|
|
|
}
|