Compare commits
No commits in common. "1ca4511ec19b6c0f0cf3f12c9f7c80c660714ba4" and "7191cb59d313aaef3619ef659bb0b05ac249644f" have entirely different histories.
1ca4511ec1
...
7191cb59d3
3 changed files with 1 additions and 41 deletions
|
@ -17,10 +17,9 @@
|
|||
gradle
|
||||
htop
|
||||
hyfetch
|
||||
imagemagick
|
||||
# telnet
|
||||
inetutils
|
||||
ipsw
|
||||
imagemagick
|
||||
jadx
|
||||
jdk21
|
||||
jq
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
self: super:
|
||||
{
|
||||
ipsw = super.callPackage ./ipsw.nix { };
|
||||
monaco-powerline = super.callPackage ./monaco-powerline/default.nix { };
|
||||
swiftformat = super.callPackage ./swiftformat.nix { };
|
||||
}
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
{ buildGo123Module, lib, fetchFromGitHub, pkgs }:
|
||||
|
||||
# As of writing, this requires Go 1.23.
|
||||
# `buildGoModule` currently uses Go 1.22.
|
||||
buildGo123Module rec {
|
||||
pname = "ipsw";
|
||||
version = "3.1.542";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blacktop";
|
||||
repo = "ipsw";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-s5clUOfJdLhbOtImkCNyPfBaIityJDXIkUlP4QfaLVE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-frOgljG8YKfuzozKPt4SpMiRz3891bteu1WKiVXwz/4=";
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
unicorn
|
||||
];
|
||||
|
||||
# Only build the `ipsw` CLI tool.
|
||||
# We do not need `ipswd`.
|
||||
subPackages = [
|
||||
"cmd/ipsw"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-X github.com/blacktop/ipsw/cmd/ipsw/cmd.AppVersion=v${version}"
|
||||
# There's also `cmd.AppBuildCommit`, but this would be a hassle.
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Simple command-line snippet manager, written in Go";
|
||||
homepage = "https://github.com/blacktop/ipsw";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue