Files
nixpkgs/pkgs/by-name/sp/spytrap-adb/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

33 lines
912 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
android-tools,
}:
rustPlatform.buildRustPackage rec {
pname = "spytrap-adb";
version = "0.3.5";
src = fetchFromGitHub {
owner = "spytrap-org";
repo = "spytrap-adb";
tag = "v${version}";
hash = "sha256-t5MNgsuH5FVEjUP9FFxbjXs5BVim0ZyfNKUTQOjKpqg=";
};
cargoHash = "sha256-VoUzAHTxJLeyi60ftuOkI6PAuLUsSsQSUjk9rcGz86A=";
env.SPYTRAP_ADB_BINARY = lib.getExe' android-tools "adb";
meta = {
description = "Test a phone for stalkerware using adb and usb debugging to scan for suspicious apps and configuration";
homepage = "https://github.com/spytrap-org/spytrap-adb";
changelog = "https://github.com/spytrap-org/spytrap-adb/releases/tag/v${version}";
mainProgram = "spytrap-adb";
license = with lib.licenses; [ gpl3Plus ];
maintainers = with lib.maintainers; [ kpcyrd ];
platforms = lib.platforms.all;
};
}