nixpkgs/pkgs/desktops/lxqt/core/libfm-qt/default.nix

42 lines
851 B
Nix
Raw Normal View History

2017-02-25 15:44:29 +00:00
{
stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
xorg, libfm, menu-cache,
qtx11extras, qttools
}:
2016-10-03 22:49:44 +01:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "libfm-qt";
2017-02-19 11:23:38 +00:00
version = "0.11.2";
2016-10-03 22:49:44 +01:00
src = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
2017-02-19 11:23:38 +00:00
sha256 = "0k2g6bkz7bvawqkjzykbxi18wqsnhbxklqy6aqqkclpzcw45vk5v";
2016-10-03 22:49:44 +01:00
};
nativeBuildInputs = [
cmake
pkgconfig
2017-02-25 15:44:29 +00:00
lxqt-build-tools
2016-10-03 22:49:44 +01:00
];
buildInputs = [
2017-02-25 15:44:29 +00:00
qtx11extras
qttools
2016-10-03 22:49:44 +01:00
libfm
menu-cache
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
2017-02-25 15:44:29 +00:00
2016-10-03 22:49:44 +01:00
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;
2017-02-19 11:23:38 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 22:49:44 +01:00
};
}