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

53 lines
947 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt
, qtbase
, qttools
, qtx11extras
, libfm-qt
, menu-cache
, lxmenu-data
, lxqtUpdateScript
}:
2016-10-03 23:06:13 +01:00
mkDerivation rec {
2016-10-03 23:06:13 +01:00
pname = "pcmanfm-qt";
2020-04-26 21:25:25 +01:00
version = "0.15.0";
2016-10-03 23:06:13 +01:00
2017-11-02 02:00:50 +00:00
src = fetchFromGitHub {
owner = "lxqt";
2016-10-03 23:06:13 +01:00
repo = pname;
rev = version;
2020-04-26 21:25:25 +01:00
sha256 = "16zwd2jfrmsnzfpywirkrpyilq1jj99liwvg77l20b1dbql9dc0q";
2016-10-03 23:06:13 +01:00
};
2017-02-19 12:43:43 +00:00
nativeBuildInputs = [
cmake
pkgconfig
2019-02-05 23:14:23 +00:00
lxqt.lxqt-build-tools
2017-02-19 12:43:43 +00:00
];
2016-10-03 23:06:13 +01:00
buildInputs = [
2019-02-05 23:14:23 +00:00
qtbase
qttools
qtx11extras
2018-05-22 14:54:12 +01:00
libfm-qt
libfm-qt
2016-10-03 23:06:13 +01:00
menu-cache
lxmenu-data
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
2016-10-03 23:06:13 +01:00
description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
homepage = "https://github.com/lxqt/pcmanfm-qt";
2016-10-03 23:06:13 +01:00
license = licenses.gpl2;
platforms = with platforms; unix;
2017-02-19 12:43:43 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-03 23:06:13 +01:00
};
}