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

24 lines
776 B
Nix

{ fetchurl, lib, stdenv, gtk, pkg-config, libofx, intltool, wrapGAppsHook
, libsoup_3, gnome }:
stdenv.mkDerivation rec {
pname = "homebank";
version = "5.7.4";
src = fetchurl {
url = "https://www.gethomebank.org/public/sources/homebank-${version}.tar.gz";
hash = "sha256-Qs5xRsh16gyjyTORtqm/RxTbRiHGP0oJTcxviYW7VOQ=";
};
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ];
buildInputs = [ gtk libofx libsoup_3 gnome.adwaita-icon-theme];
meta = with lib; {
description = "Free, easy, personal accounting for everyone";
mainProgram = "homebank";
homepage = "https://www.gethomebank.org";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ pSub frlan ];
platforms = platforms.linux ++ platforms.darwin;
};
}