nixpkgs/pkgs/desktops/lxqt/optional/lximage-qt/default.nix
2017-11-02 00:02:29 -02:00

43 lines
910 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, xorg, lxqt, libfm, libexif }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lximage-qt";
version = "0.6.0";
src = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "0zmrpfgmlq005zikyvhqbpip6mz6pfcf9aqjpncyc5vlggmh28ym";
};
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 ];
};
}