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