spytrap-adb: init at 0.3.3

This commit is contained in:
kpcyrd
2024-12-30 04:24:30 +01:00
parent aa36c7759d
commit a9cbefabf3
+32
View File
@@ -0,0 +1,32 @@
{
lib,
fetchFromGitHub,
rustPlatform,
android-tools,
}:
rustPlatform.buildRustPackage rec {
pname = "spytrap-adb";
version = "0.3.3";
src = fetchFromGitHub {
owner = "spytrap-org";
repo = "spytrap-adb";
tag = "v${version}";
hash = "sha256-CL+MxSzHpOq2MXmsaa9sipQZ06Kkzy4r1eFjUrPSj1E=";
};
cargoHash = "sha256-Utg3ds0nGAUjBfuEjGfkohkmssKIZT1NiH9hiFnW4ps=";
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;
};
}