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

56 lines
973 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, 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";
2020-05-18 12:39:13 +01:00
version = "0.15.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;
2020-05-18 12:39:13 +01:00
sha256 = "1gjxml6c9m3xn094zbr9835sr4749dpxk4nc0ap9lg27qim63gx3";
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-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; {
2016-10-03 22:49:44 +01:00
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
homepage = "https://github.com/lxqt/libfm-qt";
2016-10-03 22:49:44 +01:00
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
};
}