Merge pull request #214007 from camillemndn/qpageview

python3Packages.qpageview: init at 0.6.2
This commit is contained in:
Nick Cao 2023-02-04 09:41:02 +08:00 committed by GitHub
commit 0dbdc44d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View File

@ -2325,6 +2325,12 @@
githubId = 3212452;
name = "Cameron Nemo";
};
camillemndn = {
email = "camillemondon@free.fr";
github = "camillemndn";
githubId = 26444818;
name = "Camille M.";
};
campadrenalin = {
email = "campadrenalin@gmail.com";
github = "campadrenalin";

View File

@ -0,0 +1,33 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, python3Packages
, pythonOlder
}:
python3Packages.buildPythonPackage rec {
pname = "qpageview";
version = "0.6.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "frescobaldi";
repo = pname;
rev = "v${version}";
hash = "sha256-XFMTOD7ums8sbFHUViEI9q6/rCjUmEtXAdd3/OmLsHU=";
};
propagatedBuildInputs = with python3Packages; [ pyqt5 poppler-qt5 pycups ];
pythonImportsCheck = [ "qpageview" ];
meta = with lib; {
description = "A page-based viewer widget for Qt5/PyQt5";
homepage = "https://github.com/frescobaldi/qpageview";
changelog = "https://github.com/frescobaldi/qpageview/blob/${src.rev}/ChangeLog";
license = licenses.gpl3Only;
maintainers = with maintainers; [ camillemndn ];
};
}

View File

@ -9733,6 +9733,8 @@ self: super: with self; {
qnapstats = callPackage ../development/python-modules/qnapstats { };
qpageview = callPackage ../development/python-modules/qpageview { };
qrcode = callPackage ../development/python-modules/qrcode { };
qreactor = callPackage ../development/python-modules/qreactor { };