about summary refs log tree commit diff
path: root/pkgs/applications/misc/urlscan
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-07-23 09:10:58 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2023-07-23 09:10:58 +0200
commit67b8982a7af412714ee50cb6368a6e764977f09b (patch)
treeffdf83d961fd93da9ad0da2902e68d7258982fa4 /pkgs/applications/misc/urlscan
parent62e11bcb582f79f9158bf4de28069ed5743dadaf (diff)
urlscan: 0.9.10 -> 1.0.0
Changelog: https://github.com/firecat53/urlscan/releases/tag/1.0.0
Diffstat (limited to 'pkgs/applications/misc/urlscan')
-rw-r--r--pkgs/applications/misc/urlscan/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/misc/urlscan/default.nix b/pkgs/applications/misc/urlscan/default.nix
index bbeefc4e20cf6..6b95a9b97340a 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
   ];