nixpkgs/pkgs/applications/misc/caerbannog/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

62 lines
1.1 KiB
Nix

{ lib
, fetchFromSourcehut
, python3
, glib
, gobject-introspection
, meson
, ninja
, pkg-config
, wrapGAppsHook
, gtk3
, atk
, libhandy
, libnotify
, pango
}:
python3.pkgs.buildPythonApplication rec {
pname = "caerbannog";
version = "0.3";
format = "other";
src = fetchFromSourcehut {
owner = "~craftyguy";
repo = "caerbannog";
rev = version;
sha256 = "0wqkb9zcllxm3fdsr5lphknkzy8r1cr80f84q200hbi99qql1dxh";
};
nativeBuildInputs = [
glib
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
gtk3
atk
libhandy
libnotify
pango
];
propagatedBuildInputs = with python3.pkgs; [
anytree
fuzzyfinder
gpgme
pygobject3
];
meta = with lib; {
description = "Mobile-friendly Gtk frontend for password-store";
mainProgram = "caerbannog";
homepage = "https://sr.ht/~craftyguy/caerbannog/";
changelog = "https://git.sr.ht/~craftyguy/caerbannog/refs/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}