python310Packages.icnsutil: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2023-05-13 09:38:57 +02:00 committed by GitHub
parent 09a892f832
commit 8340587cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";