nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix
2020-04-29 16:12:27 -03:00

52 lines
935 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
, lxqt-build-tools
, json-glib
, libfm-qt
, qtbase
, qttools
, qtx11extras
, lxqtUpdateScript
}:
mkDerivation rec {
pname = "lxqt-archiver";
version = "0.1.1";
src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-archiver";
rev = version;
sha256 = "0c0y8sy12laqyanvy6mmnpjvy1yb8k3241pbxhc3nyl5zrq3hzdh";
};
nativeBuildInputs = [
cmake
pkgconfig
lxqt-build-tools
];
buildInputs = [
json-glib
libfm-qt
qtbase
qttools
qtx11extras
];
hardeningDisable = [ "format" ];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
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 ];
};
}