mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
39 lines
842 B
Nix
39 lines
842 B
Nix
{ 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 = "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";
|
|
};
|
|
}
|