From 3a6216a5e269ba6b30c5f5eb7d61d83a4a445a0d Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sun, 22 May 2022 20:18:03 -0500 Subject: [PATCH] ideviceinstaller: 1.1.1 -> 1.1.1+date=2022-05-09, cleanup --- pkgs/tools/misc/ideviceinstaller/default.nix | 31 +++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/ideviceinstaller/default.nix b/pkgs/tools/misc/ideviceinstaller/default.nix index f25c2eb62f6b..13cb6584f0a3 100644 --- a/pkgs/tools/misc/ideviceinstaller/default.nix +++ b/pkgs/tools/misc/ideviceinstaller/default.nix @@ -1,17 +1,34 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, usbmuxd, libzip, libimobiledevice }: +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, pkg-config +, usbmuxd +, libimobiledevice +, libzip +}: stdenv.mkDerivation rec { pname = "ideviceinstaller"; - version = "1.1.1"; + version = "1.1.1+date=2022-05-09"; src = fetchFromGitHub { owner = "libimobiledevice"; repo = pname; - rev = version; - sha256 = "1xp0sjgfx2z19x9mxihn18ybsmrnrcfc55zbh5a44g3vrmagmlzz"; + rev = "3909271599917bc4a3a996f99bdd3f88c49577fa"; + hash = "sha256-dw3nda2PNddSFPzcx2lv0Nh1KLFXwPBbDBhhwEaB6d0="; }; - nativeBuildInputs = [ autoreconfHook pkg-config usbmuxd libimobiledevice libzip ]; + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + + buildInputs = [ + usbmuxd + libimobiledevice + libzip + ]; meta = with lib; { homepage = "https://github.com/libimobiledevice/ideviceinstaller"; @@ -21,8 +38,8 @@ stdenv.mkDerivation rec { of an iOS device allowing to install, upgrade, uninstall, archive, restore and enumerate installed or archived apps. ''; - license = licenses.gpl2; - platforms = platforms.linux ++ platforms.darwin; + license = licenses.gpl2Plus; + platforms = platforms.unix; maintainers = with maintainers; [ aristid infinisil ]; }; }