ipsw: init at 3.1.665 (#501488)
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
buildGo126Module,
|
||||
}:
|
||||
|
||||
buildGo126Module (finalAttrs: {
|
||||
version = "3.1.665";
|
||||
pname = "ipsw";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blacktop";
|
||||
repo = "ipsw";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Oxf+hpNo/Li/S0kVjekp2RArGrYQP7voNBSTz3/Gr+Q=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-rzOw51n8G9H5Sxr2rCevrmG6z2SqKZOjluYwJzYiY70=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppVersion==${finalAttrs.version}"
|
||||
"-X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppBuildCommit==${finalAttrs.src.tag}"
|
||||
];
|
||||
|
||||
subPackages = [
|
||||
"cmd/ipsw"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "iOS/macOS Research Swiss Army Knife";
|
||||
homepage = "https://blacktop.github.io/ipsw";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.viraptor ];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "ipsw";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user