2015-06-14 20:37:55 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, speexdsp, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-27 04:21:32 +00:00
|
|
|
version = "1.2.4";
|
2015-06-14 20:37:55 +01:00
|
|
|
name = "libebur128-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jiixyj";
|
|
|
|
repo = "libebur128";
|
|
|
|
rev = "v${version}";
|
2018-02-27 04:21:32 +00:00
|
|
|
sha256 = "0n81rnm8dm1zmibkr2v3q79rsd609y0dbbsrbay18njcjva88p0g";
|
2015-06-14 20:37:55 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake speexdsp ];
|
2015-06-14 20:37:55 +01: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 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
|
|
|
};
|
|
|
|
}
|