From 8340587cfd7069eb78ed05629634f8a7dea5cbc3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 May 2023 09:38:57 +0200 Subject: [PATCH] python310Packages.icnsutil: add pythonImportsCheck --- pkgs/development/python-modules/icnsutil/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/icnsutil/default.nix b/pkgs/development/python-modules/icnsutil/default.nix index cb5aa5c0e363..46c1fcae3fac 100644 --- a/pkgs/development/python-modules/icnsutil/default.nix +++ b/pkgs/development/python-modules/icnsutil/default.nix @@ -1,7 +1,7 @@ { lib -, python -, fetchFromGitHub , buildPythonPackage +, fetchFromGitHub +, python , pythonOlder }: @@ -19,13 +19,15 @@ buildPythonPackage rec { hash = "sha256-tiq8h6s2noWLBIOIWcj8jfSqJFN01ee2uoHN4aFwn7s="; }; - doCheck = true; - checkPhase = '' ${python.interpreter} tests/test_icnsutil.py ${python.interpreter} tests/test_cli.py ''; + pythonImportsCheck = [ + "icnsutil" + ]; + meta = with lib; { description = "Create and extract .icns files"; homepage = "https://github.com/relikd/icnsutil";