-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
/
package.nix
38 lines (32 loc) · 844 Bytes
/
package.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "nucleiparser";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "sinkmanu";
repo = "nucleiparser";
rev = "refs/tags/${version}";
hash = "sha256-/SLaRuO06rF7aLV7zY7tfIxkJRzsx+/Z+mc562RX2OQ=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
prettytable
];
pythonImportsCheck = [
"nucleiparser"
];
meta = with lib; {
description = "A Nuclei output parser for CLI";
homepage = "https://github.com/sinkmanu/nucleiparser";
changelog = "https://github.com/Sinkmanu/nucleiparser/releases/tag/${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "nparser";
};
}