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

56 lines
979 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
2021-01-16 18:21:50 -08:00
, pkg-config
, lxqt-build-tools
, pcre
, libexif
, xorg
, libfm
, menu-cache
, qtx11extras
, qttools
, lxqtUpdateScript
2017-02-25 07:44:29 -08:00
}:
2016-10-03 14:49:44 -07:00
mkDerivation rec {
pname = "libfm-qt";
2020-12-15 14:40:41 -08:00
version = "0.16.0";
2016-10-03 14:49:44 -07:00
src = fetchFromGitHub {
owner = "lxqt";
repo = "libfm-qt";
2020-04-26 13:25:21 -07:00
rev = version;
2020-12-15 14:40:41 -08:00
sha256 = "0b52bczqvw4brxv5fszjrl1375yid6xzjm49ns9rx1jw71422w0p";
2016-10-03 14:49:44 -07:00
};
nativeBuildInputs = [
cmake
2021-01-16 18:21:50 -08:00
pkg-config
2017-02-25 07:44:29 -08:00
lxqt-build-tools
2016-10-03 14:49:44 -07:00
];
buildInputs = [
2017-11-01 18:53:34 -07:00
pcre
libexif
xorg.libpthreadstubs
xorg.libxcb
xorg.libXdmcp
2017-02-25 07:44:29 -08:00
qtx11extras
qttools
2016-10-03 14:49:44 -07:00
libfm
menu-cache
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
homepage = "https://github.com/lxqt/libfm-qt";
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
license = licenses.lgpl21Plus;
2016-10-03 14:49:44 -07:00
platforms = with platforms; unix;
2017-02-19 03:23:38 -08:00
maintainers = with maintainers; [ romildo ];
2016-10-03 14:49:44 -07:00
};
}