diff options
author | Thomas Watson <twatson52@icloud.com> | 2022-05-22 20:23:04 -0500 |
---|---|---|
committer | Thomas Watson <twatson52@icloud.com> | 2022-06-03 13:21:14 -0500 |
commit | 3eb7843e6ee02320e505b9db5237af1164536473 (patch) | |
tree | 75623971490e19a846af1f8ad8c6e07342fdc7c2 /pkgs | |
parent | f5138bc9e59165916b998d1819fec03295748d75 (diff) |
libirecovery: 1.0.0 -> 1.0.0+date=2022-04-04, cleanup
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/libirecovery/default.nix | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/pkgs/development/libraries/libirecovery/default.nix b/pkgs/development/libraries/libirecovery/default.nix index c10d46577ff68..1de958dfb3a53 100644 --- a/pkgs/development/libraries/libirecovery/default.nix +++ b/pkgs/development/libraries/libirecovery/default.nix @@ -1,35 +1,37 @@ -{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, pkg-config +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, pkg-config , libusb1 , readline +, libimobiledevice-glue }: stdenv.mkDerivation rec { pname = "libirecovery"; - version = "1.0.0"; + version = "1.0.0+date=2022-04-04"; + + outputs = [ "out" "dev" ]; src = fetchFromGitHub { owner = "libimobiledevice"; repo = pname; - rev = version; - sha256 = "0p9ncqnz5kb7qisw00ynvasw1hax5qx241h9nwppi2g544i9lbnr"; + rev = "82d235703044c5af9da8ad8f77351fd2046dac47"; + hash = "sha256-OESN9qme+TlSt+ZMbR4F3z/3RN0I12R7fcSyURBqUVk="; }; - outputs = [ "out" "dev" ]; - nativeBuildInputs = [ - autoconf - automake - libtool + autoreconfHook pkg-config ]; buildInputs = [ libusb1 readline + libimobiledevice-glue ]; - preConfigure = "NOCONFIGURE=1 ./autogen.sh"; - # Packager note: Not clear whether this needs a NixOS configuration, # as only the `idevicerestore` binary was tested so far (which worked # without further configuration). @@ -46,10 +48,9 @@ stdenv.mkDerivation rec { provided. ''; homepage = "https://github.com/libimobiledevice/libirecovery"; - license = licenses.lgpl21; + license = licenses.lgpl21Only; maintainers = with maintainers; [ nh2 ]; mainProgram = "irecovery"; - # Upstream description says it works on more platforms, but packager hasn't tried that yet - platforms = platforms.linux ++ platforms.darwin; + platforms = platforms.unix; }; } |