depot/third_party/nixpkgs/pkgs/applications/graphics/pineapple-pictures/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

45 lines
783 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, qtsvg
, qttools
, exiv2
, wrapQtAppsHook
, cmake
}:
stdenv.mkDerivation rec {
pname = "pineapple-pictures";
version = "0.7.1";
src = fetchFromGitHub {
owner = "BLumia";
repo = "pineapple-pictures";
rev = version;
hash = "sha256-6peNZc+rrQrUFSrn1AK8lZsy4RQf9DwpmXY0McfEus8=";
};
nativeBuildInputs = [
cmake
qttools
wrapQtAppsHook
];
buildInputs = [
qtsvg
exiv2
];
cmakeFlags = [
"-DPREFER_QT_5=OFF"
];
meta = with lib; {
description = "Homebrew lightweight image viewer";
homepage = "https://github.com/BLumia/pineapple-pictures";
license = licenses.mit;
platforms = platforms.linux;
mainProgram = "ppic";
maintainers = with maintainers; [ rewine ];
};
}