sploitscan: init at 0.9.1
Cybersecurity utility designed to provide detailed information on vulnerabilities and associated exploits https://github.com/xaitax/SploitScan
This commit is contained in:
parent
361afb9f34
commit
2f63f6553e
@ -34,7 +34,7 @@ in {
|
||||
morph-browser
|
||||
qtmir # not having its desktop file for Xwayland available causes any X11 application to crash the session
|
||||
suru-icon-theme
|
||||
telephony-service
|
||||
# telephony-service # currently broken: https://github.com/NixOS/nixpkgs/pull/314043
|
||||
]);
|
||||
};
|
||||
|
||||
@ -79,7 +79,7 @@ in {
|
||||
] ++ lib.optionals (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) [
|
||||
ayatana-indicator-sound
|
||||
]) ++ (with pkgs.lomiri; [
|
||||
telephony-service
|
||||
# telephony-service # currently broken: https://github.com/NixOS/nixpkgs/pull/314043
|
||||
] ++ lib.optionals config.networking.networkmanager.enable [
|
||||
lomiri-indicator-network
|
||||
]);
|
||||
|
@ -35,7 +35,7 @@ in {
|
||||
ayatana-indicator-sound
|
||||
] ++ (with pkgs.lomiri; [
|
||||
lomiri-indicator-network
|
||||
telephony-service
|
||||
# telephony-service # currently broken: https://github.com/NixOS/nixpkgs/pull/314043
|
||||
]);
|
||||
};
|
||||
|
||||
|
45
pkgs/by-name/sp/sploitscan/package.nix
Normal file
45
pkgs/by-name/sp/sploitscan/package.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "sploitscan";
|
||||
version = "0.9.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xaitax";
|
||||
repo = "SploitScan";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-l2nLqQoM5TuOezobipBV+s/nXTw37xhop/xpipLL1Bs=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"openai"
|
||||
"requests"
|
||||
];
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
jinja2
|
||||
openai
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sploitscan" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cybersecurity utility designed to provide detailed information on vulnerabilities and associated exploits";
|
||||
homepage = "https://github.com/xaitax/SploitScan";
|
||||
changelog = "https://github.com/xaitax/SploitScan/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "sploitscan";
|
||||
};
|
||||
}
|
@ -207,7 +207,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
lomiri-settings-components
|
||||
lomiri-thumbnailer
|
||||
qtmultimedia
|
||||
telephony-service
|
||||
# telephony-service # currently broken: https://github.com/NixOS/nixpkgs/pull/314043
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -101,7 +101,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeBool "BUILD_DOC" true) # lacks QML docs, needs qdoc: https://github.com/NixOS/nixpkgs/pull/245379
|
||||
];
|
||||
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
# Currently broken: https://github.com/NixOS/nixpkgs/pull/314043
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/etc/dbus-1/services/com.lomiri.connectivity1.service \
|
||||
|
@ -197,5 +197,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = teams.lomiri.members;
|
||||
platforms = platforms.linux;
|
||||
# Completely broken until https://github.com/NixOS/nixpkgs/pull/314043 is merged
|
||||
broken = true;
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user