diff --git a/pkgs/development/libraries/libplist/default.nix b/pkgs/development/libraries/libplist/default.nix index 4c4abe0557f3..816269599387 100644 --- a/pkgs/development/libraries/libplist/default.nix +++ b/pkgs/development/libraries/libplist/default.nix @@ -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";