nixpkgs-suyu/pkgs/applications/misc/caerbannog/default.nix
2022-10-21 17:42:07 +08:00

61 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
gobject-introspection
libhandy
libnotify
pango
];
propagatedBuildInputs = with python3.pkgs; [
anytree
fuzzyfinder
gpgme
pygobject3
];
meta = with lib; {
description = "Mobile-friendly Gtk frontend for password-store";
homepage = "https://sr.ht/~craftyguy/caerbannog/";
changelog = "https://git.sr.ht/~craftyguy/caerbannog/refs/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}