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