summary refs log blame commit diff
path: root/pkgs/development/libraries/libebur128/default.nix
blob: db6c9f93faec0ef10f669ef1643fc3db9ae7a410 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                              

                         
                    
                       




                         
                                                                   

    

                                           
 
                    
                                                                     
                                                      
                           
                                           
                               

    
{ lib, stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:

stdenv.mkDerivation rec {
  version = "1.2.5";
  pname = "libebur128";

  src = fetchFromGitHub {
    owner = "jiixyj";
    repo = "libebur128";
    rev = "v${version}";
    sha256 = "sha256-B6MOSbLfPvadXtXHSvxZCIpAH1Bnj6sItYRp+xH5HDA=";
  };

  nativeBuildInputs = [ cmake pkg-config ];
  buildInputs = [ speexdsp ];

  meta = with lib; {
    description = "Implementation of the EBU R128 loudness standard";
    homepage = "https://github.com/jiixyj/libebur128";
    license = licenses.mit;
    maintainers = [ maintainers.andrewrk ];
    platforms = platforms.unix;
  };
}