depot/third_party/nixpkgs/pkgs/desktops/lxqt/lximage-qt/default.nix
Default email 2189cff663 Project import generated by Copybara.
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
2021-04-24 22:57:28 -05:00

54 lines
956 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, qtbase
, qttools
, qtx11extras
, qtsvg
, xorg
, lxqt-build-tools
, libfm-qt
, libexif
, lxqtUpdateScript
}:
mkDerivation rec {
pname = "lximage-qt";
version = "0.17.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "1xajsblk2954crvligvrgwp7q1pj7124xdfnlq9k9q0ya2xc36lx";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
];
buildInputs = [
qtbase
qttools
qtx11extras
qtsvg
libfm-qt
xorg.libpthreadstubs
xorg.libXdmcp
libexif
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
homepage = "https://github.com/lxqt/lximage-qt";
description = "The image viewer and screenshot tool for lxqt";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}