libirecovery: 1.0.0 -> 1.0.0+date=2022-04-04, cleanup
This commit is contained in:
parent
f5138bc9e5
commit
3eb7843e6e
|
@ -1,35 +1,37 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, pkg-config
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, pkg-config
|
||||||
, libusb1
|
, libusb1
|
||||||
, readline
|
, readline
|
||||||
|
, libimobiledevice-glue
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libirecovery";
|
pname = "libirecovery";
|
||||||
version = "1.0.0";
|
version = "1.0.0+date=2022-04-04";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "libimobiledevice";
|
owner = "libimobiledevice";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "82d235703044c5af9da8ad8f77351fd2046dac47";
|
||||||
sha256 = "0p9ncqnz5kb7qisw00ynvasw1hax5qx241h9nwppi2g544i9lbnr";
|
hash = "sha256-OESN9qme+TlSt+ZMbR4F3z/3RN0I12R7fcSyURBqUVk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoconf
|
autoreconfHook
|
||||||
automake
|
|
||||||
libtool
|
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libusb1
|
libusb1
|
||||||
readline
|
readline
|
||||||
|
libimobiledevice-glue
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
|
||||||
|
|
||||||
# Packager note: Not clear whether this needs a NixOS configuration,
|
# Packager note: Not clear whether this needs a NixOS configuration,
|
||||||
# as only the `idevicerestore` binary was tested so far (which worked
|
# as only the `idevicerestore` binary was tested so far (which worked
|
||||||
# without further configuration).
|
# without further configuration).
|
||||||
|
@ -46,10 +48,9 @@ stdenv.mkDerivation rec {
|
||||||
provided.
|
provided.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/libimobiledevice/libirecovery";
|
homepage = "https://github.com/libimobiledevice/libirecovery";
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21Only;
|
||||||
maintainers = with maintainers; [ nh2 ];
|
maintainers = with maintainers; [ nh2 ];
|
||||||
mainProgram = "irecovery";
|
mainProgram = "irecovery";
|
||||||
# Upstream description says it works on more platforms, but packager hasn't tried that yet
|
platforms = platforms.unix;
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue