nixpkgs/pkgs/applications/graphics/pineapple-pictures/default.nix

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

48 lines
832 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, qtsvg
, qtwayland
, qttools
, exiv2
, wrapQtAppsHook
, cmake
}:
2023-08-27 16:55:28 +01:00
stdenv.mkDerivation (finalAttrs: {
pname = "pineapple-pictures";
2023-08-27 16:55:28 +01:00
version = "0.7.2";
src = fetchFromGitHub {
owner = "BLumia";
repo = "pineapple-pictures";
2023-08-27 16:55:28 +01:00
rev = finalAttrs.version;
hash = "sha256-dD0pHqw1Gxp+yxzYdm2ZgxiHKyuJKBGYpjv99B1Da1g=";
};
nativeBuildInputs = [
cmake
qttools
wrapQtAppsHook
];
buildInputs = [
qtsvg
qtwayland
2022-10-04 09:44:02 +01:00
exiv2
];
2023-05-02 10:29:08 +01:00
cmakeFlags = [
"-DPREFER_QT_5=OFF"
];
2023-08-27 16:55:28 +01:00
meta = {
description = "Homebrew lightweight image viewer";
homepage = "https://github.com/BLumia/pineapple-pictures";
2023-08-27 16:55:28 +01:00
license = lib.licenses.mit;
platforms = lib.platforms.linux;
2023-06-16 19:01:51 +01:00
mainProgram = "ppic";
2023-08-27 16:55:28 +01:00
maintainers = with lib.maintainers; [ rewine ];
};
2023-08-27 16:55:28 +01:00
})