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

56 lines
975 B
Nix
Raw Normal View History

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