nixpkgs/pkgs/development/libraries/libplist/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

32 lines
742 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 = ["bin" "dev" "out" "py"];
postFixup = ''
moveToOutput "lib/${python.libPrefix}" "$py"
'';
src = fetchurl {
url = "https://www.libimobiledevice.org/downloads/${name}.tar.bz2";
sha256 = "00pnh9zf3iwdji2faccns7vagbmbrwbj9a8zp9s53a6rqaa9czis";
};
meta = {
homepage = https://github.com/JonathanBeck/libplist;
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
};
}