diff --git a/pkgs/development/python-modules/turrishw/default.nix b/pkgs/development/python-modules/turrishw/default.nix index 014c7b83f851..8f5378f6ef4e 100644 --- a/pkgs/development/python-modules/turrishw/default.nix +++ b/pkgs/development/python-modules/turrishw/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, hatchling, @@ -25,12 +26,15 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + # Tests don't work on darwin + doCheck = !stdenv.hostPlatform.isDarwin; + pythonImportsCheck = [ "turrishw" ]; meta = { description = "Python library and program for Turris hardware listing"; homepage = "https://github.com/turris-cz/turrishw"; - changelog = "https://github.com/turris-cz/turrishw/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/turris-cz/turrishw/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };