libplist: use swig2

libplist compilation with swig1 fails in stdenv-updates

svn path=/nixpkgs/trunk/; revision=31324
This commit is contained in:
Yury G. Kudryashov 2012-01-05 23:15:54 +00:00
parent b00d19d775
commit 2b20492775

View file

@ -1,14 +1,16 @@
{ stdenv, fetchurl, cmake, libxml2, glib, swig, python }:
{ stdenv, fetchurl, cmake, libxml2, swig2, python, glib }:
stdenv.mkDerivation rec {
name = "libplist-1.3";
buildInputs = [ cmake swig ];
buildNativeInputs = [ cmake swig2 ];
patches = [ ./swig.patch ];
propagatedBuildInputs = [ libxml2 glib python ];
passthru.swig = swig2;
src = fetchurl {
url = "http://github.com/downloads/JonathanBeck/libplist/${name}.tar.bz2";
sha256 = "1c5nwp9jbsp5kx8avmmsr5g7qdngnqlplh2sjbygmhydb6n8lb4q";