depot/third_party/nixpkgs/pkgs/by-name/li/libideviceactivation/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

55 lines
1,021 B
Nix

{
stdenv,
fetchFromGitHub,
lib,
pkg-config,
automake,
autoreconfHook,
libtool,
libplist,
libimobiledevice,
libxml2,
curl,
usbmuxd,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libideviceactivation";
version = "1.1.1";
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = "libideviceactivation";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-owcQpCN4+A785oy9pCboJIyfpgZ6X+8PRzqGtWpYl2w=";
};
nativeBuildInputs = [
pkg-config
automake
autoreconfHook
];
buildInputs = [
libtool
libplist
libimobiledevice
libxml2
curl
usbmuxd
];
installFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Library to manage the activation process of Apple iOS devices";
homepage = "https://libimobiledevice.org";
license = with lib.licenses; [
lgpl21
gpl3
];
mainProgram = "ideviceactivation";
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ clebs ];
};
})