2020-04-25 18:01:05 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2020-04-25 18:01:05 +01:00
|
|
|
, lxqt-build-tools
|
|
|
|
, json-glib
|
|
|
|
, libfm-qt
|
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
2020-04-26 15:53:59 +01:00
|
|
|
, lxqtUpdateScript
|
2020-04-25 18:01:05 +01:00
|
|
|
}:
|
2018-12-30 21:36:32 +00:00
|
|
|
|
2019-07-27 22:05:17 +01:00
|
|
|
mkDerivation rec {
|
2020-04-26 15:53:59 +01:00
|
|
|
pname = "lxqt-archiver";
|
2021-04-16 21:32:40 +01:00
|
|
|
version = "0.4.0";
|
2018-12-30 21:36:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
2019-10-03 19:26:58 +01:00
|
|
|
repo = "lxqt-archiver";
|
2020-04-26 21:25:22 +01:00
|
|
|
rev = version;
|
2021-04-16 21:32:40 +01:00
|
|
|
sha256 = "0wpayzcyqcnvzk95bqql7p07l8p7mwdgdj7zlbcsdn0wis4yhjm6";
|
2018-12-30 21:36:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2018-12-30 21:36:32 +00:00
|
|
|
lxqt-build-tools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
json-glib
|
|
|
|
libfm-qt
|
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2020-04-26 15:53:59 +01:00
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
|
2019-07-27 22:05:17 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/lxqt/lxqt-archiver/";
|
2021-02-08 14:41:52 +00:00
|
|
|
description = "Archive tool for the LXQt desktop environment";
|
|
|
|
license = licenses.gpl2Plus;
|
2018-12-30 21:36:32 +00:00
|
|
|
platforms = with platforms; unix;
|
|
|
|
maintainers = with maintainers; [ jchw ];
|
|
|
|
};
|
|
|
|
}
|