43 lines
912 B
Nix
43 lines
912 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, xorg, lxqt, libfm, libexif }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "lximage-qt";
|
|
version = "0.5.1";
|
|
|
|
srcs = fetchFromGitHub {
|
|
owner = "lxde";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0hyiarjjxjwvzinlfnfxbqx40dhgydd3ccv3xqwvj7yni1nfx7pb";
|
|
};
|
|
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkgconfig
|
|
lxqt.lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
qt5.qtbase
|
|
qt5.qttools
|
|
qt5.qtx11extras
|
|
qt5.qtsvg
|
|
lxqt.libfm-qt
|
|
xorg.libpthreadstubs
|
|
xorg.libXdmcp
|
|
libfm
|
|
libexif
|
|
];
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The image viewer and screenshot tool for lxqt";
|
|
homepage = https://github.com/lxde/lximage-qt;
|
|
license = licenses.gpl2;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|