libimobiledevice: unstable-2021-06-02 -> 1.3.0+date=2022-05-22, cleanup

This commit is contained in:
Thomas Watson 2022-05-22 20:12:47 -05:00
parent 6cee98c8e5
commit d56d8c4669
2 changed files with 25 additions and 16 deletions

View file

@ -2,45 +2,52 @@
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, autoreconfHook , autoreconfHook
, libtool
, pkg-config , pkg-config
, gnutls , gnutls
, libgcrypt , libgcrypt
, libtasn1
, glib
, libplist , libplist
, libtasn1
, libusbmuxd , libusbmuxd
, libimobiledevice-glue
, SystemConfiguration
, CoreFoundation
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libimobiledevice"; pname = "libimobiledevice";
version = "unstable-2021-06-02"; version = "1.3.0+date=2022-05-22";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "ca324155f8b33babf907704828c7903608db0aa2";
sha256 = "sha256-Q7THwld1+elMJQ14kRnlIJDohFt7MW7JeyIUGC0k52I=";
};
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = pname;
rev = "12394bc7be588be83c352d7441102072a89dd193";
hash = "sha256-2K4gZrFnE4hlGlthcKB4n210bTK3+6NY4TYVIoghXJM=";
};
postPatch = ''
echo '${version}' > .tarball-version
'';
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook autoreconfHook
libtool
pkg-config pkg-config
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
glib
gnutls gnutls
libgcrypt libgcrypt
libplist libplist
libtasn1 libtasn1
libusbmuxd libusbmuxd
libimobiledevice-glue
] ++ lib.optionals stdenv.isDarwin [
SystemConfiguration
CoreFoundation
]; ];
configureFlags = [ "--disable-openssl" "--without-cython" ]; configureFlags = [ "--with-gnutls" "--without-cython" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/libimobiledevice/libimobiledevice"; homepage = "https://github.com/libimobiledevice/libimobiledevice";
@ -58,7 +65,7 @@ stdenv.mkDerivation rec {
devices to the Linux Desktop. devices to the Linux Desktop.
''; '';
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.unix;
maintainers = with maintainers; [ infinisil ]; maintainers = with maintainers; [ infinisil ];
}; };
} }

View file

@ -18678,7 +18678,9 @@ with pkgs;
libieee1284 = callPackage ../development/libraries/libieee1284 { }; libieee1284 = callPackage ../development/libraries/libieee1284 { };
libimobiledevice = callPackage ../development/libraries/libimobiledevice { }; libimobiledevice = callPackage ../development/libraries/libimobiledevice {
inherit (darwin.apple_sdk.frameworks) SystemConfiguration CoreFoundation;
};
libimobiledevice-glue = callPackage ../development/libraries/libimobiledevice-glue { }; libimobiledevice-glue = callPackage ../development/libraries/libimobiledevice-glue { };