nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

57 lines
1006 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.9.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-archiver";
rev = version;
hash = "sha256-8pfUpyjn01D8CL+2PjGkZqyHu+lpHZIXlXn67rZoxMY=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
];
buildInputs = [
json-glib
libexif
libfm-qt
menu-cache
qtbase
qtx11extras
];
hardeningDisable = [ "format" ];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-archiver/";
description = "Archive tool for the LXQt desktop environment";
mainProgram = "lxqt-archiver";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
maintainers = with maintainers; [ jchw ] ++ teams.lxqt.members;
};
}