das: relax plotly depenency, cleanup

This commit is contained in:
Gaetan Lepage 2025-06-21 22:01:13 +02:00
parent 2d23937f55
commit eb7082e107

View File

@ -1,10 +1,11 @@
{ {
lib, lib,
python3, python3Packages,
fetchFromGitHub, fetchFromGitHub,
versionCheckHook,
}: }:
python3.pkgs.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "das"; pname = "das";
version = "1.0.3"; version = "1.0.3";
pyproject = true; pyproject = true;
@ -21,11 +22,12 @@ python3.pkgs.buildPythonApplication rec {
"defusedxml" "defusedxml"
"netaddr" "netaddr"
"networkx" "networkx"
"plotly"
]; ];
build-system = with python3.pkgs; [ poetry-core ]; build-system = with python3Packages; [ poetry-core ];
dependencies = with python3.pkgs; [ dependencies = with python3Packages; [
dash dash
defusedxml defusedxml
dnspython dnspython
@ -40,6 +42,10 @@ python3.pkgs.buildPythonApplication rec {
pythonImportsCheck = [ "das" ]; pythonImportsCheck = [ "das" ];
nativeCheckInputs = [
versionCheckHook
];
meta = { meta = {
description = "Divide full port scan results and use it for targeted Nmap runs"; description = "Divide full port scan results and use it for targeted Nmap runs";
homepage = "https://github.com/snovvcrash/DivideAndScan"; homepage = "https://github.com/snovvcrash/DivideAndScan";