2016-01-26 14:43:22 +00:00
|
|
|
{ stdenv, fetchurl, alsaLib, AudioUnit, CoreServices }:
|
2012-03-20 04:41:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 12:02:25 +00:00
|
|
|
name = "audiofile-0.3.6";
|
2012-03-20 04:41:13 +00:00
|
|
|
|
2017-09-22 04:23:17 +01:00
|
|
|
buildInputs =
|
|
|
|
stdenv.lib.optionals stdenv.isLinux [
|
|
|
|
alsaLib
|
|
|
|
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
|
|
|
CoreServices AudioUnit
|
|
|
|
];
|
2016-01-26 14:43:22 +00:00
|
|
|
|
2012-03-20 04:41:13 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://audiofile.68k.org/${name}.tar.gz";
|
2013-12-18 12:02:25 +00:00
|
|
|
sha256 = "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind";
|
2012-03-20 04:41:13 +00:00
|
|
|
};
|
|
|
|
|
2016-10-19 15:19:11 +01:00
|
|
|
patches = [ ./CVE-2015-7747.patch ./gcc-6.patch ];
|
2015-11-04 20:05:44 +00:00
|
|
|
|
2013-07-04 05:52:51 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "Library for reading and writing audio files in various formats";
|
2016-01-26 14:43:22 +00:00
|
|
|
homepage = http://www.68k.org/~michael/audiofile/;
|
2013-07-14 00:08:03 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
2014-01-22 03:34:41 +00:00
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
2013-07-04 05:52:51 +01:00
|
|
|
platforms = platforms.unix;
|
2012-03-20 04:41:13 +00:00
|
|
|
};
|
|
|
|
}
|