mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
e34de045b6
LXQt uses the values in this macro to set installation directories and in the case of lxqt-session to substitute in paths. However, by doing this all the paths are from within lxqt-build-tools prefix. By utilizing a setup hook we can set the directories with the correct prefix as cmake flags.
40 lines
865 B
Nix
40 lines
865 B
Nix
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, json-glib, libfm-qt, qtbase, qttools, qtx11extras }:
|
|
|
|
mkDerivation rec {
|
|
pname = "lxqt-archiver";
|
|
version = "0.0.96";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1vc9pzxrhznp65gdkzj3fzzivfqy712mwcxp3r25ar59d54alfpj";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkgconfig
|
|
lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
json-glib
|
|
libfm-qt
|
|
qtbase
|
|
qttools
|
|
qtx11extras
|
|
];
|
|
|
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with lib; {
|
|
description = "Archive tool for the LXQt desktop environment";
|
|
homepage = https://github.com/lxqt/lxqt-archiver/;
|
|
license = licenses.gpl2;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; [ jchw ];
|
|
};
|
|
}
|