mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
41 lines
818 B
Nix
41 lines
818 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
hatchling,
|
|
pyqt6,
|
|
pycups,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qpageview";
|
|
version = "1.0.5";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "frescobaldi";
|
|
repo = "qpageview";
|
|
tag = "v${version}";
|
|
hash = "sha256-oXZr35ZD+cFEgRNojpiW14xceGC9taMNTFvXHmyyeFg=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
pyqt6
|
|
pycups
|
|
];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
pythonImportsCheck = [ "qpageview" ];
|
|
|
|
meta = {
|
|
description = "Page-based viewer widget for Qt6/PyQt6";
|
|
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 ];
|
|
};
|
|
}
|