Unverified Commit b69809a6 authored by Yureka's avatar Yureka Committed by GitHub
Browse files

libtatsu: init at 1.0.5; idevicerestore: 1.0.0+date=2023-05-23 ->...

libtatsu: init at 1.0.5; idevicerestore: 1.0.0+date=2023-05-23 -> 1.0.0-unstable-2025-08-21 (#435575)
parents bddde618 f026e98d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -18983,6 +18983,12 @@
    githubId = 1348;
    name = "Nate Smith";
  };
  nxm = {
    email = "szturomski@jakub.app";
    name = "Jakub Szturomski";
    github = "nxm";
    githubId = 22380073;
  };
  nyabinary = {
    name = "Niko Cantero";
    email = "nyanbinary@keemail.me";
+3 −3
Original line number Diff line number Diff line
@@ -13,13 +13,13 @@

stdenv.mkDerivation rec {
  pname = "idevicerestore";
  version = "1.0.0+date=2023-05-23";
  version = "1.0.0-unstable-2025-10-02";

  src = fetchFromGitHub {
    owner = "libimobiledevice";
    repo = "idevicerestore";
    rev = "609f7f058487596597e8e742088119fdd46729df";
    hash = "sha256-VXtXAitPC1+pxZlkGBg+u6yYhyM/jVpSgDO/6dXh5V4=";
    rev = "f4d0f7e83105cc362527566315abee07b0840848";
    hash = "sha256-fqTVAHTxamk2lIllr7ZNHOJ1YTJHM4JpVQylMV33CJI=";
  };

  nativeBuildInputs = [
+5 −13
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
  libgcrypt,
  libplist,
  libtasn1,
  libtatsu,
  libusbmuxd,
  libimobiledevice-glue,
  unstableGitUpdater,
@@ -16,25 +17,15 @@

stdenv.mkDerivation rec {
  pname = "libimobiledevice";
  version = "1.3.0-unstable-2024-05-20";
  version = "1.4.0";

  src = fetchFromGitHub {
    owner = "libimobiledevice";
    repo = "libimobiledevice";
    rev = "9ccc52222c287b35e41625cc282fb882544676c6";
    hash = "sha256-pNvtDGUlifp10V59Kah4q87TvLrcptrCJURHo+Y+hs4=";
    tag = version;
    hash = "sha256-SWWsa7asCXpcz80VNhxoePWr74QY8SP0byGSCp+nGG0=";
  };

  patches = [
    # Fix gcc-14 and clang-16 build:
    #   https://github.com/libimobiledevice/libimobiledevice/pull/1569
    (fetchpatch {
      name = "fime.h.patch";
      url = "https://github.com/libimobiledevice/libimobiledevice/commit/92256c2ae2422dac45d8648a63517598bdd89883.patch";
      hash = "sha256-sB+wEFuXFoQnuf7ntWfvYuCgWfYbmlPL7EjW0L0F74o=";
    })
  ];

  preAutoreconf = ''
    export RELEASE_VERSION=${version}
  '';
@@ -51,6 +42,7 @@ stdenv.mkDerivation rec {
    libgcrypt
    libplist
    libtasn1
    libtatsu
    libusbmuxd
    libimobiledevice-glue
  ];
+2 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@

stdenv.mkDerivation rec {
  pname = "libirecovery";
  version = "1.2.1";
  version = "1.3.1";

  outputs = [
    "out"
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
    owner = "libimobiledevice";
    repo = "libirecovery";
    rev = version;
    hash = "sha256-R+oBC7F4op0qoIk3d/WqS4MwzZY3WMAMIqlJfJb188Q=";
    hash = "sha256-CSDG8mOLvKAIpxmZnNLMKY1HvQIqk66/rkjmzq7F8vY=";
  };

  nativeBuildInputs = [
+46 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  autoreconfHook,
  pkg-config,
  libplist,
  libimobiledevice-glue,
  curl,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "libtatsu";
  version = "1.0.5";

  src = fetchFromGitHub {
    owner = "libimobiledevice";
    repo = "libtatsu";
    tag = finalAttrs.version;
    hash = "sha256-vf4xBTTGDJCTj4TMLOhojjAfzSbkx+ogGBnf+UeumG0=";
  };

  preAutoreconf = ''
    echo ${finalAttrs.version} > .tarball-version
    export PACKAGE_VERSION=${finalAttrs.version}
  '';

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];

  buildInputs = [
    libplist
    libimobiledevice-glue
    curl
  ];

  meta = {
    description = "Library handling the communication with Apple's Tatsu Signing Server (TSS)";
    homepage = "https://github.com/libimobiledevice/libtatsu";
    license = lib.licenses.lgpl21Plus;
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [ nxm ];
  };
})