8 , libimobiledevice-glue
11 stdenv.mkDerivation rec {
12 pname = "libirecovery";
15 outputs = [ "out" "dev" ];
17 src = fetchFromGitHub {
18 owner = "libimobiledevice";
21 hash = "sha256-R+oBC7F4op0qoIk3d/WqS4MwzZY3WMAMIqlJfJb188Q=";
36 export RELEASE_VERSION=${version}
39 # Packager note: Not clear whether this needs a NixOS configuration,
40 # as only the `idevicerestore` binary was tested so far (which worked
41 # without further configuration).
43 "--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d"
44 ''--with-udevrule="OWNER=\"root\", GROUP=\"myusergroup\", MODE=\"0660\""''
48 description = "Library and utility to talk to iBoot/iBSS via USB on Mac OS X, Windows, and Linux";
50 libirecovery is a cross-platform library which implements communication to
51 iBoot/iBSS found on Apple's iOS devices via USB. A command-line utility is also
54 homepage = "https://github.com/libimobiledevice/libirecovery";
55 license = licenses.lgpl21Only;
56 maintainers = with maintainers; [ nh2 ];
57 mainProgram = "irecovery";
58 platforms = platforms.unix;