3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libplist/default.nix

32 lines
740 B
Nix
Raw Normal View History

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