nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix

52 lines
937 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
2021-01-17 02:21:50 +00:00
, pkg-config
, lxqt-build-tools
, json-glib
, libfm-qt
, qtbase
, qttools
, qtx11extras
, lxqtUpdateScript
}:
2018-12-30 21:36:32 +00:00
mkDerivation rec {
pname = "lxqt-archiver";
2020-12-15 22:40:42 +00:00
version = "0.3.0";
2018-12-30 21:36:32 +00:00
src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-archiver";
rev = version;
2020-12-15 22:40:42 +00:00
sha256 = "0f4nj598w6qhcrhbab15cpfmrda02jcflxhb15vyv7gnplalkya6";
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" ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
2018-12-30 21:36:32 +00:00
description = "Archive tool for the LXQt desktop environment";
homepage = "https://github.com/lxqt/lxqt-archiver/";
2018-12-30 21:36:32 +00:00
license = licenses.gpl2;
platforms = with platforms; unix;
maintainers = with maintainers; [ jchw ];
};
}