Files
nixpkgs/pkgs/by-name/qv/qview/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

44 lines
900 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
libsForQt5,
x11Support ? true,
}:
stdenv.mkDerivation rec {
pname = "qview";
version = "7.1";
src = fetchFromGitHub {
owner = "jurplel";
repo = "qView";
rev = version;
hash = "sha256-EcXhwJcgBLdXa/FQ5LuENlzwnLw4Gt2BGlBO1p5U8tI=";
};
qmakeFlags = lib.optionals (!x11Support) [ "CONFIG+=NO_X11" ];
nativeBuildInputs = [
libsForQt5.qmake
libsForQt5.wrapQtAppsHook
];
buildInputs = [
libsForQt5.qtbase
libsForQt5.qttools
libsForQt5.qtimageformats
libsForQt5.qtsvg
]
++ lib.optionals x11Support [ libsForQt5.qtx11extras ];
meta = with lib; {
description = "Practical and minimal image viewer";
mainProgram = "qview";
homepage = "https://interversehq.com/qview/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ acowley ];
platforms = platforms.all;
};
}