2021-03-08 11:46:32 +00:00
|
|
|
{ lib
|
2022-03-31 07:15:59 +00:00
|
|
|
, fetchpatch
|
2021-03-08 11:46:32 +00:00
|
|
|
, fetchFromGitLab
|
|
|
|
, python3
|
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
|
|
|
, glib
|
|
|
|
, libxml2
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2022-05-18 05:00:51 +00:00
|
|
|
, wrapGAppsHook4
|
2021-03-08 11:46:32 +00:00
|
|
|
, gobject-introspection
|
2022-04-11 03:07:23 +00:00
|
|
|
, libadwaita
|
2021-03-08 11:46:32 +00:00
|
|
|
, librsvg
|
2022-10-17 05:26:19 +00:00
|
|
|
, gtk4
|
2021-03-08 11:46:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "banking";
|
2022-06-30 17:12:36 +00:00
|
|
|
version = "0.5.1";
|
2021-03-08 11:46:32 +00:00
|
|
|
format = "other";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "tabos";
|
|
|
|
repo = "banking";
|
|
|
|
rev = version;
|
2022-06-30 17:12:36 +00:00
|
|
|
sha256 = "sha256-tZlBpDcwQ/aWroP2sFQBZcvmBD26PiY7q/8xFA8GnVc=";
|
2021-03-08 11:46:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
2022-04-11 03:07:23 +00:00
|
|
|
patchShebangs meson_post_conf.py meson_post_install.py
|
2021-03-08 11:46:32 +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-05-18 05:00:51 +00:00
|
|
|
wrapGAppsHook4
|
2022-10-17 05:26:19 +00:00
|
|
|
gobject-introspection
|
|
|
|
gtk4 # for gtk4-update-icon-cache
|
2021-03-08 11:46:32 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-04-11 03:07:23 +00:00
|
|
|
libadwaita
|
2021-03-08 11:46:32 +00:00
|
|
|
librsvg
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
cryptography
|
|
|
|
fints
|
|
|
|
mt-940
|
|
|
|
pygobject3
|
2022-06-30 17:12:36 +00:00
|
|
|
pysqlitecipher
|
|
|
|
schwifty
|
2021-03-08 11:46:32 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Banking application for small screens";
|
2022-01-07 06:35:04 +00:00
|
|
|
homepage = "https://tabos.gitlab.io/projects/banking/";
|
2021-03-08 11:46:32 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2022-06-30 17:12:36 +00:00
|
|
|
mainProgram = "org.tabos.banking";
|
2021-03-08 11:46:32 +00:00
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|