nixpkgs/pkgs/desktops/lxqt/core/libfm-qt/default.nix
2017-02-19 08:24:57 -03:00

39 lines
838 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt5, kde5, lxqt, xorg,
libfm, menu-cache }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "libfm-qt";
version = "0.11.2";
src = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "0k2g6bkz7bvawqkjzykbxi18wqsnhbxklqy6aqqkclpzcw45vk5v";
};
nativeBuildInputs = [
cmake
pkgconfig
lxqt.lxqt-build-tools
];
buildInputs = [
qt5.qtx11extras
qt5.qttools
libfm
menu-cache
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
meta = with stdenv.lib; {
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
homepage = https://github.com/lxde/libfm-qt;
license = licenses.lgpl21;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}