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
45 lines
829 B
Nix
45 lines
829 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
qt6Packages,
|
|
exiv2,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pineapple-pictures";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BLumia";
|
|
repo = "pineapple-pictures";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-QQ0lWYwfCCQUtVQxC6koORiQ3px99+Uy8qHtRx3fbSg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
qt6Packages.qttools
|
|
qt6Packages.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qt6Packages.qtsvg
|
|
exiv2
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DPREFER_QT_5=OFF"
|
|
];
|
|
|
|
meta = {
|
|
description = "Homebrew lightweight image viewer";
|
|
homepage = "https://github.com/BLumia/pineapple-pictures";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "ppic";
|
|
maintainers = with lib.maintainers; [ wineee ];
|
|
};
|
|
})
|