2012-01-06 00:15:54 +01:00
|
|
|
{ stdenv, fetchurl, cmake, libxml2, swig2, python, glib }:
|
2010-09-26 21:39:21 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libplist-1.3";
|
|
|
|
|
2012-01-06 00:15:54 +01:00
|
|
|
buildNativeInputs = [ cmake swig2 ];
|
2010-09-26 21:39:21 +02:00
|
|
|
|
|
|
|
patches = [ ./swig.patch ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ libxml2 glib python ];
|
|
|
|
|
2012-01-06 00:15:54 +01:00
|
|
|
passthru.swig = swig2;
|
|
|
|
|
2010-09-26 21:39:21 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://github.com/downloads/JonathanBeck/libplist/${name}.tar.bz2";
|
|
|
|
sha256 = "1c5nwp9jbsp5kx8avmmsr5g7qdngnqlplh2sjbygmhydb6n8lb4q";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://github.com/JonathanBeck/libplist;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
|
|
|
}
|