mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
usbmuxd: unstable-2021-05-08 -> 1.1.1+date=2022-04-04, cleanup
This commit is contained in:
parent
742dc5ea13
commit
de887d4f2c
1 changed files with 25 additions and 11 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue