diff options
Diffstat (limited to 'pkgs/applications/graphics/pineapple-pictures/default.nix')
-rw-r--r-- | pkgs/applications/graphics/pineapple-pictures/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/pineapple-pictures/default.nix b/pkgs/applications/graphics/pineapple-pictures/default.nix new file mode 100644 index 0000000000000..7a730cbda93b6 --- /dev/null +++ b/pkgs/applications/graphics/pineapple-pictures/default.nix @@ -0,0 +1,40 @@ +{ lib +, stdenv +, fetchFromGitHub +, qtsvg +, qttools +, exiv2 +, wrapQtAppsHook +, cmake +}: + +stdenv.mkDerivation rec { + pname = "pineapple-pictures"; + version = "0.6.1"; + + src = fetchFromGitHub { + owner = "BLumia"; + repo = "pineapple-pictures"; + rev = version; + sha256 = "sha256-KTYwe6fS/rUHBbC2B9OdK95mFm3zvgDdGODkg7VQ27M="; + }; + + nativeBuildInputs = [ + cmake + qttools + wrapQtAppsHook + ]; + + buildInputs = [ + qtsvg + exiv2.lib + ]; + + meta = with lib; { + description = "Homebrew lightweight image viewer"; + homepage = "https://github.com/BLumia/pineapple-pictures"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ rewine ]; + }; +} |