mirror of
https://github.com/anotherhadi/nur-packages.git
synced 2026-10-05 19:28:27 +02:00
add jwt-tui, spilltea & usbguard-tui
Signed-off-by: Hadi <[email protected]>
This commit is contained in:
@@ -5,4 +5,7 @@
|
||||
user-scanner = pkgs.python3Packages.callPackage ./pkgs/user-scanner {};
|
||||
github-recon = pkgs.callPackage ./pkgs/github-recon {};
|
||||
gravatar-recon = pkgs.callPackage ./pkgs/gravatar-recon {};
|
||||
spilltea = pkgs.callPackage ./pkgs/spilltea {};
|
||||
usbguard-tui = pkgs.callPackage ./pkgs/usbguard-tui {};
|
||||
jwt-tui = pkgs.callPackage ./pkgs/jwt-tui {};
|
||||
}
|
||||
|
||||
Generated
+3
-3
@@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1773646010,
|
||||
"narHash": "sha256-iYrs97hS7p5u4lQzuNWzuALGIOdkPXvjz7bviiBjUu8=",
|
||||
"lastModified": 1780749050,
|
||||
"narHash": "sha256-3av0pIjlOWQ6rDbNOmpUSvbNnJkGORQKKjb4LtCZsIY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5b2c2d84341b2afb5647081c1386a80d7a8d8605",
|
||||
"rev": "a799d3e3886da994fa307f817a6bc705ae538eeb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
buildGo126Module,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
buildGo126Module rec {
|
||||
pname = "jwt-tui";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anotherhadi";
|
||||
repo = "jwt-tui";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DqoRRKGk7rj1kP62R1gmOFAijxTaOu1k7hv1BaXlGVM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-rh/iQ5aDSDFv8wvb7bzcxcyX8Pfab+90NVzHs/xRH+I=";
|
||||
|
||||
ldflags = ["-s" "-w" "-X main.version=${version}"];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A TUI for inspecting, editing, and signing JSON Web Tokens (JWTs).";
|
||||
homepage = "https://github.com/anotherhadi/jwt-tui";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [];
|
||||
mainProgram = "jwt-tui";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildGo126Module,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
}:
|
||||
buildGo126Module rec {
|
||||
pname = "spilltea";
|
||||
version = "0.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anotherhadi";
|
||||
repo = "spilltea";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xOJ+VvrdPRyNJBVo+1Sd1tvw++OWbBN59uWI3Tc/hCY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Mz5TLKcQKk9cuPNOpMl6hgaODKlaw137B00e3M6fgwM=";
|
||||
|
||||
ldflags = ["-s" "-w" "-X main.version=${version}"];
|
||||
|
||||
nativeBuildInputs = [installShellFiles];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd spilltea \
|
||||
--bash <($out/bin/spilltea completion bash) \
|
||||
--zsh <($out/bin/spilltea completion zsh) \
|
||||
--fish <($out/bin/spilltea completion fish)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A minimal, terminal-based HTTP(S) proxy for pentesters and CTF players.";
|
||||
homepage = "https://github.com/anotherhadi/spilltea";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [];
|
||||
mainProgram = "spilltea";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
buildGo126Module,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
buildGo126Module rec {
|
||||
pname = "usbguard-tui";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anotherhadi";
|
||||
repo = "usbguard-tui";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-m4Bg2uy9WqYHaTod/dJfFUHCAXDwg6+4GLXGUIAid5Q=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-tXMeJy9IpXTRhikYedcL+76H9X3In9mb1/KnN1XFPu4=";
|
||||
|
||||
ldflags = ["-s" "-w" "-X main.version=${version}"];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A terminal UI for managing USB devices via usbguard.";
|
||||
homepage = "https://github.com/anotherhadi/usbguard-tui";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [];
|
||||
mainProgram = "usbguard-tui";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user