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

54 lines
1021 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, json-glib
, libfm-qt
, qtbase
, qttools
, qtx11extras
, lxqtUpdateScript
}:
2018-12-30 13:36:32 -08:00
mkDerivation rec {
pname = "lxqt-archiver";
version = "2019-09-25";
2018-12-30 13:36:32 -08:00
src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-archiver";
rev = "62501255434b2ba6a8fd043a5af13dc0df038a5b";
sha256 = "1af58k68karmnay7xgngzlmcgkmvx6hay5m1xbl5id9hh16n20in";
2018-12-30 13:36:32 -08:00
};
nativeBuildInputs = [
cmake
pkgconfig
lxqt-build-tools
];
buildInputs = [
json-glib
libfm-qt
qtbase
qttools
qtx11extras
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
hardeningDisable = [ "format" ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
2018-12-30 13:36:32 -08:00
description = "Archive tool for the LXQt desktop environment";
homepage = "https://github.com/lxqt/lxqt-archiver/";
2018-12-30 13:36:32 -08:00
license = licenses.gpl2;
platforms = with platforms; unix;
maintainers = with maintainers; [ jchw ];
};
}