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

25 lines
785 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gtk3, libxml2, gettext, libical, libnotify
, libarchive, gspell, webkitgtk, libgringotts, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "osmo";
version = "0.4.4";
src = fetchurl {
url = "mirror://sourceforge/osmo-pim/${pname}-${version}.tar.gz";
sha256 = "19h3dnjgqbawnvgnycyp4n5b6mjsp5zghn3b69b6f3xa3fyi32qy";
};
nativeBuildInputs = [ pkg-config gettext wrapGAppsHook ];
buildInputs = [ gtk3 libxml2 libical libnotify libarchive
gspell webkitgtk libgringotts ];
meta = with lib; {
description = "A handy personal organizer";
mainProgram = "osmo";
homepage = "https://clayo.org/osmo/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}