mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
bf41c5c233
Fixes #10678.
23 lines
642 B
Nix
23 lines
642 B
Nix
{ stdenv, fetchurl, alsaLib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "audiofile-0.3.6";
|
|
|
|
nativeBuildInputs = stdenv.lib.optional stdenv.isLinux alsaLib;
|
|
|
|
src = fetchurl {
|
|
url = "http://audiofile.68k.org/${name}.tar.gz";
|
|
sha256 = "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind";
|
|
};
|
|
|
|
patches = [ ./CVE-2015-7747.patch ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Library for reading and writing audio files in various formats";
|
|
homepage = http://www.68k.org/~michael/audiofile/;
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|