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

28 lines
770 B
Nix
Raw Normal View History

2016-01-26 15:43:22 +01:00
{ stdenv, fetchurl, alsaLib, AudioUnit, CoreServices }:
stdenv.mkDerivation rec {
2013-12-18 13:02:25 +01:00
name = "audiofile-0.3.6";
buildInputs =
stdenv.lib.optionals stdenv.isLinux [
alsaLib
] ++ stdenv.lib.optionals stdenv.isDarwin [
CoreServices AudioUnit
];
2016-01-26 15:43:22 +01:00
src = fetchurl {
url = "http://audiofile.68k.org/${name}.tar.gz";
2013-12-18 13:02:25 +01:00
sha256 = "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind";
};
patches = [ ./CVE-2015-7747.patch ./gcc-6.patch ];
meta = with stdenv.lib; {
description = "Library for reading and writing audio files in various formats";
2016-01-26 15:43:22 +01:00
homepage = http://www.68k.org/~michael/audiofile/;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
}