nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 42 lines 882 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, autoreconfHook 5, pkg-config 6, libplist 7, libimobiledevice-glue 8}: 9 10stdenv.mkDerivation rec { 11 pname = "libusbmuxd"; 12 version = "2.0.2+date=2022-05-04"; 13 14 src = fetchFromGitHub { 15 owner = "libimobiledevice"; 16 repo = pname; 17 rev = "36ffb7ab6e2a7e33bd1b56398a88895b7b8c615a"; 18 hash = "sha256-41N5cSLAiPJ9FjdnCQnMvPu9/qhI3Je/M1VmKY+yII4="; 19 }; 20 21 postPatch = '' 22 echo '${version}' > .tarball-version 23 ''; 24 25 nativeBuildInputs = [ 26 autoreconfHook 27 pkg-config 28 ]; 29 30 buildInputs = [ 31 libplist 32 libimobiledevice-glue 33 ]; 34 35 meta = with lib; { 36 description = "A client library to multiplex connections from and to iOS devices"; 37 homepage = "https://github.com/libimobiledevice/libusbmuxd"; 38 license = licenses.lgpl21Plus; 39 platforms = platforms.unix; 40 maintainers = with maintainers; [ infinisil ]; 41 }; 42}