nixpkgs/pkgs/desktops/lxqt/qlipper/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

40 lines
711 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qttools
, gitUpdater
}:
mkDerivation rec {
pname = "qlipper";
version = "5.1.2";
src = fetchFromGitHub {
owner = "pvanek";
repo = pname;
rev = version;
hash = "sha256-wHhaRtNiNCk5dtO2dVjRFDVicmYtrnCb2twx6h1m834=";
};
nativeBuildInputs = [
cmake
qttools
];
buildInputs = [
qtbase
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Cross-platform clipboard history applet";
mainProgram = "qlipper";
homepage = "https://github.com/pvanek/qlipper";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
maintainers = teams.lxqt.members;
};
}