2011-02-11 14:55:30 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2012-09-26 21:04:27 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "expat-2.1.0";
|
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
src = fetchurl {
|
2012-09-26 21:04:27 +02:00
|
|
|
url = "mirror://sourceforge/expat/${name}.tar.gz";
|
|
|
|
sha256 = "11pblz61zyxh68s5pdcbhc30ha1b2vfjd83aiwfg4vc15x3hadw2";
|
2003-11-05 17:28:26 +01:00
|
|
|
};
|
2011-02-11 14:55:30 +01:00
|
|
|
|
2015-07-28 07:36:15 +02:00
|
|
|
patches = [ ./CVE-2015-1283.patch ];
|
|
|
|
|
2015-11-26 18:33:58 +01:00
|
|
|
configureFlags = stdenv.lib.optionalString stdenv.isFreeBSD "--with-pic";
|
|
|
|
|
2014-08-30 07:28:26 +02:00
|
|
|
meta = with stdenv.lib; {
|
2012-09-26 21:04:27 +02:00
|
|
|
homepage = http://www.libexpat.org/;
|
2011-02-11 14:55:30 +01:00
|
|
|
description = "A stream-oriented XML parser library written in C";
|
2014-08-30 07:28:26 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.mit; # expat version
|
2011-02-11 14:55:30 +01:00
|
|
|
};
|
2003-11-05 13:17:48 +01:00
|
|
|
}
|