51 lines
941 B
Nix
51 lines
941 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, lxqt-build-tools
|
|
, json-glib
|
|
, libfm-qt
|
|
, qtbase
|
|
, qttools
|
|
, qtx11extras
|
|
, lxqtUpdateScript
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "lxqt-archiver";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = "lxqt-archiver";
|
|
rev = version;
|
|
sha256 = "0wpayzcyqcnvzk95bqql7p07l8p7mwdgdj7zlbcsdn0wis4yhjm6";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
json-glib
|
|
libfm-qt
|
|
qtbase
|
|
qttools
|
|
qtx11extras
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lxqt/lxqt-archiver/";
|
|
description = "Archive tool for the LXQt desktop environment";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; [ jchw ];
|
|
};
|
|
}
|