lol

usbmuxd: unstable-2021-05-08 -> 1.1.1+date=2022-04-04, cleanup

+25 -11
+25 -11
pkgs/tools/misc/usbmuxd/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libusb1, libimobiledevice }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , pkg-config 6 + , libimobiledevice 7 + , libusb1 8 + }: 2 9 3 10 stdenv.mkDerivation rec { 4 11 pname = "usbmuxd"; 5 - version = "unstable-2021-05-08"; 12 + version = "1.1.1+date=2022-04-04"; 6 13 7 14 src = fetchFromGitHub { 8 15 owner = "libimobiledevice"; 9 16 repo = pname; 10 - rev = "5e484e18f1383b5a0bd6c353ab1d668b03e4ffab"; 11 - sha256 = "sha256-hhbfRmLEhVVuJNnw65PakPnvjSCrN3oSMK6D7Zwnw60="; 17 + rev = "2839789bdb581ede7c331b9b4e07e0d5a89d7d18"; 18 + hash = "sha256-wYW6hI0Ti9gKtk/wxIbdY5KaPMs/p+Ve9ceeRqXihQI="; 12 19 }; 13 20 14 - nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 - propagatedBuildInputs = [ libimobiledevice libusb1 ]; 21 + nativeBuildInputs = [ 22 + autoreconfHook 23 + pkg-config 24 + ]; 16 25 17 - preConfigure = '' 18 - configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d" 19 - configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system" 20 - ''; 26 + propagatedBuildInputs = [ 27 + libimobiledevice 28 + libusb1 29 + ]; 30 + 31 + configureFlags = [ 32 + "--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d" 33 + "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" 34 + ]; 21 35 22 36 meta = with lib; { 23 37 homepage = "https://github.com/libimobiledevice/usbmuxd"; ··· 32 46 in parallel. The higher-level layers are handled by libimobiledevice. 33 47 ''; 34 48 license = licenses.gpl2Plus; 35 - platforms = platforms.linux ++ platforms.darwin; 49 + platforms = platforms.unix; 36 50 maintainers = with maintainers; [ infinisil ]; 37 51 }; 38 52 }