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-05 09:32:33 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2023-07-05 09:32:33 +0200
commit62e11bcb582f79f9158bf4de28069ed5743dadaf (patch)
tree49a31990f2e4d76546bff1586da72cee78922db3 /pkgs/applications/misc/urlscan
parent714410a12c2f02f85d70ce0c0f11be29ee739591 (diff)
urlscan: migrate to python3.pkgs
Diffstat (limited to 'pkgs/applications/misc/urlscan')
-rw-r--r--pkgs/applications/misc/urlscan/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/misc/urlscan/default.nix b/pkgs/applications/misc/urlscan/default.nix
index 1cbb7809e3137..bbeefc4e20cf6 100644
--- a/pkgs/applications/misc/urlscan/default.nix
+++ b/pkgs/applications/misc/urlscan/default.nix
@@ -1,9 +1,9 @@
 { lib
-, python3Packages
 , fetchFromGitHub
+, python3
 }:
 
-python3Packages.buildPythonApplication rec {
+python3.pkgs.buildPythonApplication rec {
   pname = "urlscan";
   version = "0.9.10";
 
@@ -14,11 +14,12 @@ python3Packages.buildPythonApplication rec {
     hash = "sha256-lCOOVAdsr5LajBGY7XUi4J5pJqm5rOH5IMKhA6fju5w=";
   };
 
-  propagatedBuildInputs = [
-    python3Packages.urwid
+  propagatedBuildInputs = with python3.pkgs; [
+    urwid
   ];
 
-  doCheck = false; # No tests available
+  # No tests available
+  doCheck = false;
 
   pythonImportsCheck = [
     "urlscan"