From 67b8982a7af412714ee50cb6368a6e764977f09b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Jul 2023 09:10:58 +0200 Subject: [PATCH] urlscan: 0.9.10 -> 1.0.0 Changelog: https://github.com/firecat53/urlscan/releases/tag/1.0.0 --- pkgs/applications/misc/urlscan/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/urlscan/default.nix b/pkgs/applications/misc/urlscan/default.nix index bbeefc4e20cf..6b95a9b97340 100644 --- a/pkgs/applications/misc/urlscan/default.nix +++ b/pkgs/applications/misc/urlscan/default.nix @@ -5,15 +5,23 @@ python3.pkgs.buildPythonApplication rec { pname = "urlscan"; - version = "0.9.10"; + version = "1.0.0"; + format = "pyproject"; src = fetchFromGitHub { owner = "firecat53"; repo = pname; - rev = version; - hash = "sha256-lCOOVAdsr5LajBGY7XUi4J5pJqm5rOH5IMKhA6fju5w="; + rev = "refs/tags/${version}"; + hash = "sha256-IvCdc4f784hBM+TEa0zIACz/1/FUnEpGxHUGiS85tt8="; }; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = with python3.pkgs; [ + hatchling + hatch-vcs + ]; + propagatedBuildInputs = with python3.pkgs; [ urwid ];