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