{ lib, fetchFromGitHub, buildPythonPackage, hatchling, pyqt6, poppler-qt5, pycups, }: buildPythonPackage rec { pname = "qpageview"; version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "frescobaldi"; repo = pname; tag = "v${version}"; hash = "sha256-UADC+DH3eG1pqlC9BRsqGQQjJcpfwWWVq4O7aFGLxLA="; }; build-system = [ hatchling ]; dependencies = [ pyqt6 poppler-qt5 pycups ]; doCheck = false; # no tests pythonImportsCheck = [ "qpageview" ]; meta = with lib; { description = "Page-based viewer widget for Qt5/PyQt5"; homepage = "https://github.com/frescobaldi/qpageview"; changelog = "https://github.com/frescobaldi/qpageview/blob/${src.tag}/ChangeLog"; license = licenses.gpl3Only; maintainers = with maintainers; [ camillemndn ]; }; }