Unverified Commit 3a671cd6 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #237747 from eyJhb/go-ios-init

go-ios: init at 1.0.115
parents 1941c7d8 5b4a509d
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
, nix-update-script
}:

buildGoModule rec {
  pname = "go-ios";
  version = "1.0.115";

  src = fetchFromGitHub {
    owner = "danielpaulus";
    repo = "go-ios";
    rev = "v${version}";
    sha256 = "sha256-pvgdGBLgRHvnGdAyA4Rrexkh5oRzVT7AYgKfLNfSf7M=";
  };

  vendorSha256 = "sha256-lLpvpT0QVVyy12HmtOQxagT0JNwRO7CcfkGhCpouH8w=";

  excludedPackages = [
    "restapi"
  ];

  checkFlags = [
    "-tags=fast"
  ];

  postInstall = ''
    # aligns the binary with what is expected from go-ios
    mv $out/bin/go-ios $out/bin/ios
  '';

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "An operating system independent implementation of iOS device features";
    homepage = "https://github.com/danielpaulus/go-ios";
    license = licenses.mit;
    maintainers = with maintainers; [ eyjhb ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -915,6 +915,8 @@ with pkgs;
  gomi = callPackage ../tools/misc/gomi { };
  go-ios = callPackage ../tools/misc/go-ios { };
  graph-easy = callPackage ../tools/graphics/graph-easy { };
  mangal = callPackage ../applications/misc/mangal { };