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
75 lines
1.6 KiB
Nix
75 lines
1.6 KiB
Nix
{
|
|
rustPlatform,
|
|
lib,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
glib,
|
|
pango,
|
|
gdk-pixbuf,
|
|
graphene,
|
|
gtk4,
|
|
copyDesktopItems,
|
|
makeDesktopItem,
|
|
wrapGAppsHook4,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "airgorah";
|
|
version = "0.7.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "martin-olivier";
|
|
repo = "airgorah";
|
|
tag = "v${version}";
|
|
hash = "sha256-6TH+DRDtWajZjHNmFSKL4XJK+AuDNUbWKRPRryOpSGY=";
|
|
};
|
|
|
|
cargoHash = "sha256-LiSaNyqsKBZ5nNP7mws1pjhVwTXNBF6e1wSUdG/qYog=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
copyDesktopItems
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
pango
|
|
gdk-pixbuf
|
|
graphene
|
|
gtk4
|
|
];
|
|
|
|
postInstall = ''
|
|
install -Dm644 icons/app_icon.png $out/share/icons/hicolor/1024x1024/apps/airgorah.png
|
|
'';
|
|
|
|
dessktopItems = [
|
|
(makeDesktopItem {
|
|
name = "airgorah";
|
|
comment = "A WiFi auditing software that can perform deauth attacks and passwords cracking";
|
|
desktopName = "airgorah";
|
|
exec = "pkexec airgorah";
|
|
icon = "airgorah";
|
|
categories = [
|
|
"Network"
|
|
"Monitor"
|
|
"Utility"
|
|
"GTK"
|
|
];
|
|
type = "Application";
|
|
terminal = false;
|
|
})
|
|
];
|
|
|
|
meta = {
|
|
description = "WiFi security auditing software mainly based on aircrack-ng tools suite";
|
|
homepage = "https://github.com/martin-olivier/airgorah";
|
|
changelog = "https://github.com/martin-olivier/airgorah/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "airgorah";
|
|
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|