1 { mkDerivation, lib, graphicsmagick, fetchFromGitHub, qmake, qtbase, qttools
8 src = fetchFromGitHub {
12 sha256 = "sha256-0eAuof/FBro2IKxkJ6JHauW6C96VTPxy7QtfPVzPFi4=";
15 nativeBuildInputs = [ qmake qttools ];
16 buildInputs = [ qtbase graphicsmagick ];
18 qmakeFlags = [ "PREFIX=${placeholder "out"}" ];
20 env.NIX_CFLAGS_COMPILE = "-I${graphicsmagick}/include/GraphicsMagick";
23 description = "A cross-platform image editor with a powerful features and a very friendly graphical user interface";
24 mainProgram = "photoflare";
25 homepage = "https://photoflare.io";
26 maintainers = [ maintainers.omgbebebe ];
27 license = licenses.gpl3Plus;
28 platforms = platforms.linux;