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

56 lines
979 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
2021-01-17 02:21:50 +00:00
, pkg-config
, lxqt-build-tools
, pcre
, libexif
, xorg
, libfm
, menu-cache
, qtx11extras
, qttools
, lxqtUpdateScript
2017-02-25 15:44:29 +00:00
}:
2016-10-03 22:49:44 +01:00
mkDerivation rec {
pname = "libfm-qt";
2021-04-16 21:32:40 +01:00
version = "0.17.1";
2016-10-03 22:49:44 +01:00
src = fetchFromGitHub {
owner = "lxqt";
repo = "libfm-qt";
2020-04-26 21:25:21 +01:00
rev = version;
2021-04-16 21:32:40 +01:00
sha256 = "0jdsqvwp81y4ylabrqdc673x80fp41rpp5w7c1v9zmk9k8z4s5ll";
2016-10-03 22:49:44 +01:00
};
nativeBuildInputs = [
cmake
2021-01-17 02:21:50 +00:00
pkg-config
2017-02-25 15:44:29 +00:00
lxqt-build-tools
2016-10-03 22:49:44 +01:00
];
buildInputs = [
2017-11-02 01:53:34 +00:00
pcre
libexif
xorg.libpthreadstubs
xorg.libxcb
xorg.libXdmcp
2017-02-25 15:44:29 +00:00
qtx11extras
qttools
2016-10-03 22:49:44 +01: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 22:49:44 +01:00
platforms = with platforms; unix;
2017-02-19 11:23:38 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 22:49:44 +01:00
};
}