Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
clangStdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libgeneral,
|
|
libplist,
|
|
openssl,
|
|
lzfse,
|
|
git,
|
|
}:
|
|
clangStdenv.mkDerivation (finalAttrs: {
|
|
pname = "img4tool";
|
|
version = "217";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tihmstar";
|
|
repo = "img4tool";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-67Xfq4jEK9juyaSIgVdWygAePZuyb4Yp8mY+6V66+Aw=";
|
|
};
|
|
|
|
# Do not depend on git to calculate version, instead
|
|
# pass version via configureFlag
|
|
patches = [ ./configure-version.patch ];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libgeneral
|
|
libplist
|
|
lzfse
|
|
openssl
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-version-commit-count=${finalAttrs.version}"
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
description = "Socket daemon to multiplex connections from and to iOS devices";
|
|
homepage = "https://github.com/tihmstar/img4tool";
|
|
license = lib.licenses.lgpl3;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ onny ];
|
|
mainProgram = "img4tool";
|
|
};
|
|
})
|