nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication {
8 pname = "nbutools";
9 version = "0-unstable-2023-06-06";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "airbus-seclab";
14 repo = "nbutools";
15 rev = "d82fb96d5623e7d3076cc0a1db06a640f63b9552";
16 hash = "sha256-YOiFlTIDpeTFOHPU37v0pYf8s3HdaE/4pnd9qrsFtSI=";
17 };
18
19 build-system = with python3.pkgs; [ setuptools ];
20
21 dependencies = with python3.pkgs; [
22 aiodns
23 aiohttp
24 beautifulsoup4
25 graphviz
26 jaydebeapi
27 jpype1
28 lxml
29 pycryptodome
30 requests
31 scapy
32 tabulate
33 ];
34
35 # Project has no tests
36 doCheck = false;
37
38 meta = with lib; {
39 description = "Tools for offensive security of NetBackup infrastructures";
40 homepage = "https://github.com/airbus-seclab/nbutools";
41 license = with licenses; [ gpl2Only ];
42 maintainers = with maintainers; [ fab ];
43 };
44}