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

This commit is contained in:
Thomas Watson 2022-05-22 20:03:15 -05:00
parent 742dc5ea13
commit de887d4f2c

View file

@ -1,23 +1,37 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libusb1, libimobiledevice }:
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, libimobiledevice
, libusb1
}:
stdenv.mkDerivation rec {
pname = "usbmuxd";
version = "unstable-2021-05-08";
version = "1.1.1+date=2022-04-04";
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = pname;
rev = "5e484e18f1383b5a0bd6c353ab1d668b03e4ffab";
sha256 = "sha256-hhbfRmLEhVVuJNnw65PakPnvjSCrN3oSMK6D7Zwnw60=";
rev = "2839789bdb581ede7c331b9b4e07e0d5a89d7d18";
hash = "sha256-wYW6hI0Ti9gKtk/wxIbdY5KaPMs/p+Ve9ceeRqXihQI=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
propagatedBuildInputs = [ libimobiledevice libusb1 ];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
preConfigure = ''
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
'';
propagatedBuildInputs = [
libimobiledevice
libusb1
];
configureFlags = [
"--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d"
"--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
];
meta = with lib; {
homepage = "https://github.com/libimobiledevice/usbmuxd";
@ -32,7 +46,7 @@ stdenv.mkDerivation rec {
in parallel. The higher-level layers are handled by libimobiledevice.
'';
license = licenses.gpl2Plus;
platforms = platforms.linux ++ platforms.darwin;
platforms = platforms.unix;
maintainers = with maintainers; [ infinisil ];
};
}