nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix
2022-11-09 10:11:10 -03:00

55 lines
966 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, lxqt-build-tools
, json-glib
, libexif
, libfm-qt
, menu-cache
, qtbase
, qttools
, qtx11extras
, gitUpdater
}:
mkDerivation rec {
pname = "lxqt-archiver";
version = "0.7.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-archiver";
rev = version;
sha256 = "aHN17sugIoH5UfbOn11mDofq2EY7KByYCWE5NJRJWbo=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
];
buildInputs = [
json-glib
libexif
libfm-qt
menu-cache
qtbase
qttools
qtx11extras
];
hardeningDisable = [ "format" ];
passthru.updateScript = gitUpdater { };
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 ] ++ teams.lxqt.members;
};
}