blob: 8ba43af1dcc4fa9140bd345678853fc2ca6d70f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
hatchling,
pyqt6,
poppler-qt5,
pycups,
}:
buildPythonPackage rec {
pname = "qpageview";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "frescobaldi";
repo = "qpageview";
tag = "v${version}";
hash = "sha256-bUZI3ML3MN+0KLQxrPfQOC7lxdpvl3sxJ4zi0phsiCw=";
};
build-system = [ hatchling ];
dependencies = [
pyqt6
poppler-qt5
pycups
];
doCheck = false; # no tests
pythonImportsCheck = [ "qpageview" ];
meta = {
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 = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ camillemndn ];
};
}
|