nixpkgs/pkgs/applications/office/beebeep/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

45 lines
951 B
Nix

{ lib
, mkDerivation
, fetchzip
, wrapQtAppsHook
, autoPatchelfHook
, qtbase
, qtmultimedia
, qtx11extras
}:
mkDerivation rec {
pname = "beebeep";
version = "5.8.6";
src = fetchzip {
url = "https://netix.dl.sourceforge.net/project/beebeep/Linux/beebeep-${version}-qt5-amd64.tar.gz";
sha256 = "sha256-YDgFRXFBM1tjLP99mHYJadgccHJYYPAZ1kqR+FngLKU=";
};
nativeBuildInputs = [
wrapQtAppsHook
autoPatchelfHook
];
buildInputs = [
qtbase
qtmultimedia
qtx11extras
];
installPhase = ''
mkdir -p $out/bin
cp * $out/bin
'';
meta = with lib; {
homepage = "https://www.beebeep.net/";
description = "BeeBEEP is the free office messenger that is indispensable in all those places where privacy and security are an essential requirement.";
mainProgram = "beebeep";
platforms = platforms.linux;
license = licenses.gpl2Only;
maintainers = with maintainers; [ mglolenstine ];
};
}