Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 55 lines 1.0 kB view raw
1{ 2 stdenv, 3 fetchFromGitHub, 4 lib, 5 pkg-config, 6 automake, 7 autoreconfHook, 8 libtool, 9 libplist, 10 libimobiledevice, 11 libxml2, 12 curl, 13 usbmuxd, 14}: 15 16stdenv.mkDerivation (finalAttrs: { 17 pname = "libideviceactivation"; 18 version = "1.1.1"; 19 20 src = fetchFromGitHub { 21 owner = "libimobiledevice"; 22 repo = "libideviceactivation"; 23 tag = finalAttrs.version; 24 hash = "sha256-owcQpCN4+A785oy9pCboJIyfpgZ6X+8PRzqGtWpYl2w="; 25 }; 26 27 nativeBuildInputs = [ 28 pkg-config 29 automake 30 autoreconfHook 31 ]; 32 33 buildInputs = [ 34 libtool 35 libplist 36 libimobiledevice 37 libxml2 38 curl 39 usbmuxd 40 ]; 41 42 installFlags = [ "PREFIX=$(out)" ]; 43 44 meta = { 45 description = "Library to manage the activation process of Apple iOS devices"; 46 homepage = "https://libimobiledevice.org"; 47 license = with lib.licenses; [ 48 lgpl21 49 gpl3 50 ]; 51 mainProgram = "ideviceactivation"; 52 platforms = lib.platforms.linux; 53 maintainers = with lib.maintainers; [ clebs ]; 54 }; 55})