2021-03-20 04:20:00 +00:00
|
|
|
{ lib
|
2022-04-03 18:54:34 +00:00
|
|
|
, fetchpatch
|
2021-03-20 04:20:00 +00:00
|
|
|
, fetchFromGitLab
|
|
|
|
, python3
|
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
|
|
|
, glib
|
|
|
|
, libxml2
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2022-06-16 17:23:12 +00:00
|
|
|
, wrapGAppsHook4
|
2021-03-20 04:20:00 +00:00
|
|
|
, gobject-introspection
|
2022-04-27 09:35:20 +00:00
|
|
|
, libadwaita
|
2021-03-20 04:20:00 +00:00
|
|
|
, librsvg
|
2022-10-30 15:09:59 +00:00
|
|
|
, gtk4
|
2021-03-20 04:20:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "banking";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.5.1";
|
2021-03-20 04:20:00 +00:00
|
|
|
format = "other";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "tabos";
|
|
|
|
repo = "banking";
|
|
|
|
rev = version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-tZlBpDcwQ/aWroP2sFQBZcvmBD26PiY7q/8xFA8GnVc=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
2022-04-27 09:35:20 +00:00
|
|
|
patchShebangs meson_post_conf.py meson_post_install.py
|
2021-03-20 04:20:00 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib # for appstream-util
|
|
|
|
desktop-file-utils # for desktop-file-validate
|
|
|
|
glib # for glib-compile-resources
|
|
|
|
libxml2 # for xmllint
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2022-06-16 17:23:12 +00:00
|
|
|
wrapGAppsHook4
|
2022-10-30 15:09:59 +00:00
|
|
|
gobject-introspection
|
|
|
|
gtk4 # for gtk4-update-icon-cache
|
2021-03-20 04:20:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-04-27 09:35:20 +00:00
|
|
|
libadwaita
|
2021-03-20 04:20:00 +00:00
|
|
|
librsvg
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
cryptography
|
|
|
|
fints
|
|
|
|
mt-940
|
|
|
|
pygobject3
|
2022-07-14 12:49:19 +00:00
|
|
|
pysqlitecipher
|
|
|
|
schwifty
|
2021-03-20 04:20:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Banking application for small screens";
|
2022-01-13 20:06:32 +00:00
|
|
|
homepage = "https://tabos.gitlab.io/projects/banking/";
|
2021-03-20 04:20:00 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2022-07-14 12:49:19 +00:00
|
|
|
mainProgram = "org.tabos.banking";
|
2021-03-20 04:20:00 +00:00
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|