1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/libplist/default.nix
Vladimír Čunát 30c0a2ca2e
libplist: drop libxml2 dependency
The announcement for 2.0.0 claims it isn't needed anymore,
and it seems true.
2017-05-01 23:55:14 +02:00

32 lines
740 B
Nix

{ stdenv, fetchurl, pkgconfig, libxml2, swig2, python2Packages, glib }:
let
inherit (python2Packages) python cython;
in stdenv.mkDerivation rec {
name = "libplist-${version}";
version = "2.0.0";
nativeBuildInputs = [ pkgconfig swig2 python cython ];
propagatedBuildInputs = [ glib ];
passthru.swig = swig2;
outputs = ["out" "dev" "bin" "py"];
postFixup = ''
moveToOutput "lib/${python.libPrefix}" "$py"
'';
src = fetchurl {
url = "http://www.libimobiledevice.org/downloads/${name}.tar.bz2";
sha256 = "00pnh9zf3iwdji2faccns7vagbmbrwbj9a8zp9s53a6rqaa9czis";
};
meta = {
homepage = http://github.com/JonathanBeck/libplist;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
};
}