Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
810 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitLab,
kdePackages,
meson,
ninja,
pkg-config,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qdocumentview";
version = "0.3.0.1";
src = fetchFromGitLab {
owner = "extraqt";
repo = "qdocumentview";
tag = "v${finalAttrs.version}";
hash = "sha256-z5Z43fo6oemGBn5Gfmx5ndeOva+qSH6mwkUWClylChA=";
};
nativeBuildInputs = [
meson
ninja
cmake
pkg-config
];
buildInputs = [
kdePackages.qtbase
kdePackages.poppler
];
dontWrapQtApps = true;
meta = {
description = "Widget to render multi-page documents";
mainProgram = "qdocumentview";
homepage = "https://gitlab.com/extraqt/qdocumentview";
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = lib.platforms.linux;
};
})