Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
75 lines
1.4 KiB
Nix
75 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitLab,
|
|
python3,
|
|
appstream-glib,
|
|
blueprint-compiler,
|
|
desktop-file-utils,
|
|
glib,
|
|
libxml2,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
wrapGAppsHook4,
|
|
gobject-introspection,
|
|
libadwaita,
|
|
librsvg,
|
|
gtk4,
|
|
gitUpdater,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "saldo";
|
|
version = "0.8.0";
|
|
pyproject = false;
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "tabos";
|
|
repo = "saldo";
|
|
tag = version;
|
|
hash = "sha256-L4xx9tYDiAoykoiqvXhkbnayYQyTVl1qgi3LBNDoWjg=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs meson_post_conf.py meson_post_install.py
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
appstream-glib # for appstream-util
|
|
blueprint-compiler
|
|
desktop-file-utils # for desktop-file-validate
|
|
glib # for glib-compile-resources
|
|
libxml2 # for xmllint
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
gobject-introspection
|
|
gtk4 # for gtk4-update-icon-cache
|
|
];
|
|
|
|
buildInputs = [
|
|
libadwaita
|
|
librsvg
|
|
];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
cryptography
|
|
fints
|
|
mt-940
|
|
onetimepad
|
|
pygobject3
|
|
schwifty
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "Banking application for small screens";
|
|
homepage = "https://www.tabos.org/projects/saldo/";
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "org.tabos.saldo";
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|