2016-01-26 15:43:22 +01:00
|
|
|
{ stdenv, fetchurl, alsaLib, AudioUnit, CoreServices }:
|
2012-03-20 05:41:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 13:02:25 +01:00
|
|
|
name = "audiofile-0.3.6";
|
2012-03-20 05:41:13 +01:00
|
|
|
|
2017-09-22 05:23:17 +02:00
|
|
|
buildInputs =
|
|
|
|
stdenv.lib.optionals stdenv.isLinux [
|
|
|
|
alsaLib
|
|
|
|
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
|
|
|
CoreServices AudioUnit
|
|
|
|
];
|
2016-01-26 15:43:22 +01:00
|
|
|
|
2012-03-20 05:41:13 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://audiofile.68k.org/${name}.tar.gz";
|
2013-12-18 13:02:25 +01:00
|
|
|
sha256 = "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind";
|
2012-03-20 05:41:13 +01:00
|
|
|
};
|
|
|
|
|
2016-10-19 16:19:11 +02:00
|
|
|
patches = [ ./CVE-2015-7747.patch ./gcc-6.patch ];
|
2015-11-04 21:05:44 +01:00
|
|
|
|
2013-07-04 06:52:51 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-05 16:22:46 +02:00
|
|
|
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/;
|
2013-07-14 01:08:03 +02:00
|
|
|
license = licenses.lgpl21Plus;
|
2014-01-22 04:34:41 +01:00
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2013-07-04 06:52:51 +02:00
|
|
|
platforms = platforms.unix;
|
2012-03-20 05:41:13 +01:00
|
|
|
};
|
|
|
|
}
|