nucleiparser: source is now tagged

This commit is contained in:
Fabian Affolter 2024-01-12 00:33:08 +01:00
parent e3d0c84428
commit a79db02fe4

View file

@ -1,18 +1,17 @@
{ lib { lib
, python3
, fetchFromGitHub , fetchFromGitHub
, python3
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "nucleiparser"; pname = "nucleiparser";
version = "unstable-2023-12-26"; version = "0.2.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sinkmanu"; owner = "sinkmanu";
repo = "nucleiparser"; repo = "nucleiparser";
# https://github.com/Sinkmanu/nucleiparser/issues/1 rev = "refs/tags/${version}";
rev = "42f3d57c70300c436497c2539cdb3c49977fc48d";
hash = "sha256-/SLaRuO06rF7aLV7zY7tfIxkJRzsx+/Z+mc562RX2OQ="; hash = "sha256-/SLaRuO06rF7aLV7zY7tfIxkJRzsx+/Z+mc562RX2OQ=";
}; };
@ -31,6 +30,7 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; { meta = with lib; {
description = "A Nuclei output parser for CLI"; description = "A Nuclei output parser for CLI";
homepage = "https://github.com/sinkmanu/nucleiparser"; homepage = "https://github.com/sinkmanu/nucleiparser";
changelog = "https://github.com/Sinkmanu/nucleiparser/releases/tag/${version}";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "nparser"; mainProgram = "nparser";