forked from mirrors/nixpkgs
e55b330b9d
Fixes the error while loading shared libraries: - libmenu-cache.so.3: cannot open shared object file: No such file or directory - libexif.so.12: cannot open shared object file: No such file or directory
56 lines
1,005 B
Nix
56 lines
1,005 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, lxqt-build-tools
|
|
, json-glib
|
|
, libexif
|
|
, libfm-qt
|
|
, menu-cache
|
|
, qtbase
|
|
, qttools
|
|
, qtx11extras
|
|
, lxqtUpdateScript
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "lxqt-archiver";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = "lxqt-archiver";
|
|
rev = version;
|
|
sha256 = "ay0nWCe/uMsJFFtBAQnsuxR6I/8q3xv6zK/qYr3BQyw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
json-glib
|
|
libexif
|
|
libfm-qt
|
|
menu-cache
|
|
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 ] ++ teams.lxqt.members;
|
|
};
|
|
}
|