nixpkgs/pkgs/development/libraries/libebur128/default.nix

25 lines
640 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:
2015-06-14 19:37:55 +00:00
stdenv.mkDerivation rec {
2021-02-03 15:57:37 +00:00
version = "1.2.5";
pname = "libebur128";
2015-06-14 19:37:55 +00:00
src = fetchFromGitHub {
owner = "jiixyj";
repo = "libebur128";
rev = "v${version}";
2021-02-03 15:57:37 +00:00
sha256 = "sha256-B6MOSbLfPvadXtXHSvxZCIpAH1Bnj6sItYRp+xH5HDA=";
2015-06-14 19:37:55 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ speexdsp ];
2015-06-14 19:37:55 +00:00
meta = with lib; {
2015-06-14 19:37:55 +00:00
description = "Implementation of the EBU R128 loudness standard";
homepage = "https://github.com/jiixyj/libebur128";
2015-06-14 19:37:55 +00:00
license = licenses.mit;
2015-06-18 18:52:39 +00:00
maintainers = [ maintainers.andrewrk ];
platforms = platforms.unix;
2015-06-14 19:37:55 +00:00
};
}