2020-04-25 17:01:05 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2020-04-25 17:01:05 +00:00
|
|
|
, lxqt-build-tools
|
|
|
|
, json-glib
|
2022-09-06 22:37:06 +00:00
|
|
|
, libexif
|
2020-04-25 17:01:05 +00:00
|
|
|
, libfm-qt
|
2022-09-06 22:37:06 +00:00
|
|
|
, menu-cache
|
2020-04-25 17:01:05 +00:00
|
|
|
, qtbase
|
|
|
|
, qttools
|
|
|
|
, qtx11extras
|
2022-09-27 21:32:15 +00:00
|
|
|
, gitUpdater
|
2020-04-25 17:01:05 +00:00
|
|
|
}:
|
2018-12-30 21:36:32 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
mkDerivation rec {
|
2020-04-26 14:53:59 +00:00
|
|
|
pname = "lxqt-archiver";
|
2022-11-09 13:11:10 +00:00
|
|
|
version = "0.7.0";
|
2018-12-30 21:36:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
2019-10-03 18:26:58 +00:00
|
|
|
repo = "lxqt-archiver";
|
2020-04-26 20:25:22 +00:00
|
|
|
rev = version;
|
2022-11-09 13:11:10 +00:00
|
|
|
sha256 = "aHN17sugIoH5UfbOn11mDofq2EY7KByYCWE5NJRJWbo=";
|
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
|
2022-09-06 22:37:06 +00:00
|
|
|
libexif
|
2018-12-30 21:36:32 +00:00
|
|
|
libfm-qt
|
2022-09-06 22:37:06 +00:00
|
|
|
menu-cache
|
2018-12-30 21:36:32 +00:00
|
|
|
qtbase
|
|
|
|
qttools
|
|
|
|
qtx11extras
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2022-09-27 21:32:15 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2020-04-26 14:53:59 +00:00
|
|
|
|
2019-07-27 21:05:17 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00: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;
|
2022-04-14 13:52:15 +00:00
|
|
|
maintainers = with maintainers; [ jchw ] ++ teams.lxqt.members;
|
2018-12-30 21:36:32 +00:00
|
|
|
};
|
|
|
|
}
|