lenspect: init at 1.0.2 (#453585)

This commit is contained in:
Aleksana
2025-11-14 08:34:50 +00:00
committed by GitHub
+65
View File
@@ -0,0 +1,65 @@
{
blueprint-compiler,
desktop-file-utils,
fetchFromGitHub,
gobject-introspection,
lib,
libadwaita,
libsecret,
meson,
ninja,
nix-update-script,
pkg-config,
python3Packages,
wrapGAppsHook4,
}:
python3Packages.buildPythonApplication rec {
pname = "lenspect";
version = "1.0.2";
pyproject = false;
src = fetchFromGitHub {
owner = "vmkspv";
repo = "lenspect";
tag = "v${version}";
hash = "sha256-R3Y1t4qEXY7zuYZENzwiAoW1fDEN/YiatnFLPUOeRUE=";
};
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
libadwaita
libsecret
];
dependencies = with python3Packages; [
pygobject3
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Lightweight security threat scanner intended to make malware detection more accessible and efficient";
homepage = "https://github.com/vmkspv/lenspect";
changelog = "https://github.com/vmkspv/lenspect/releases/tag/v${version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ RoGreat ];
mainProgram = "lenspect";
platforms = lib.platforms.linux;
};
}