nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:
2
3stdenv.mkDerivation rec {
4 version = "1.2.6";
5 pname = "libebur128";
6
7 src = fetchFromGitHub {
8 owner = "jiixyj";
9 repo = "libebur128";
10 rev = "v${version}";
11 sha256 = "sha256-UKO2k+kKH/dwt2xfaYMrH/GXjEkIrnxh1kGG/3P5d3Y=";
12 };
13
14 nativeBuildInputs = [ cmake pkg-config ];
15 buildInputs = [ speexdsp ];
16
17 meta = with lib; {
18 description = "Implementation of the EBU R128 loudness standard";
19 homepage = "https://github.com/jiixyj/libebur128";
20 license = licenses.mit;
21 maintainers = [ maintainers.andrewrk ];
22 platforms = platforms.unix;
23 };
24}