nixpkgs/pkgs/by-name/da/das/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1022 B
Nix
Raw Normal View History

{
lib,
python3,
fetchFromGitHub,
2023-06-25 07:57:21 +00:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "das";
version = "1.0.3";
pyproject = true;
2023-06-25 07:57:21 +00:00
src = fetchFromGitHub {
owner = "snovvcrash";
repo = "DivideAndScan";
rev = "refs/tags/v${version}";
hash = "sha256-WZmWpcBqxsNH96nVWwoepFhsvdxZpYKmAjNd7ghIJMA=";
2023-06-25 07:57:21 +00:00
};
pythonRelaxDeps = [
"defusedxml"
"netaddr"
"networkx"
2023-06-25 07:57:21 +00:00
];
build-system = with python3.pkgs; [ poetry-core ];
dependencies = with python3.pkgs; [
2023-06-25 07:57:21 +00:00
dash
defusedxml
dnspython
netaddr
networkx
pandas
plotly
python-nmap
scipy
tinydb
];
pythonImportsCheck = [ "das" ];
2023-06-25 07:57:21 +00:00
meta = with lib; {
description = "Divide full port scan results and use it for targeted Nmap runs";
homepage = "https://github.com/snovvcrash/DivideAndScan";
changelog = "https://github.com/snovvcrash/DivideAndScan/releases/tag/v${version}";
2023-06-25 07:57:21 +00:00
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
mainProgram = "das";
2023-06-25 07:57:21 +00:00
};
}