diff options
author | tomberek <tomberek@users.noreply.github.com> | 2024-05-27 00:23:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 00:23:07 -0400 |
commit | ddfef20dfb5ca59e7fbe15a65dc68975d35f39b0 (patch) | |
tree | 9ccc61257834e9c2f2296c9e5ec5874f255c07c6 /pkgs | |
parent | 342487013b1f58cb633aedd9232c9d193de75f52 (diff) | |
parent | fce0a3529351b896acc8bf763fb23a8ecf69f820 (diff) |
Merge pull request #314590 from clebs/libideviceactivation
libideviceactivation: init at 1.1.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/li/libideviceactivation/package.nix | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libideviceactivation/package.nix b/pkgs/by-name/li/libideviceactivation/package.nix new file mode 100644 index 0000000000000..74ee9ddc2cc9c --- /dev/null +++ b/pkgs/by-name/li/libideviceactivation/package.nix @@ -0,0 +1,55 @@ +{ + 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 = "A 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 ]; + }; +}) |