summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-06-30 17:12:36 +0000
committerRobert Schütz <nix@dotlambda.de>2022-06-30 17:30:07 +0000
commit649c644ba84193f8ef2ee12291a61296901cf457 (patch)
tree42e6f9f998da5dca6343d66a62cc016185d42615
parent3ac24f48357076ef5c823d550bf5c9118c03b969 (diff)
downloadnixpkgs-649c644ba84193f8ef2ee12291a61296901cf457.tar
nixpkgs-649c644ba84193f8ef2ee12291a61296901cf457.tar.gz
nixpkgs-649c644ba84193f8ef2ee12291a61296901cf457.tar.bz2
nixpkgs-649c644ba84193f8ef2ee12291a61296901cf457.tar.lz
nixpkgs-649c644ba84193f8ef2ee12291a61296901cf457.tar.xz
nixpkgs-649c644ba84193f8ef2ee12291a61296901cf457.tar.zst
nixpkgs-649c644ba84193f8ef2ee12291a61296901cf457.zip
banking: 0.4.0 -> 0.5.1
-rw-r--r--pkgs/applications/office/banking/default.nix24
1 files changed, 5 insertions, 19 deletions
diff --git a/pkgs/applications/office/banking/default.nix b/pkgs/applications/office/banking/default.nix
index 07ce23a215e..7e397bdb76b 100644
--- a/pkgs/applications/office/banking/default.nix
+++ b/pkgs/applications/office/banking/default.nix
@@ -17,34 +17,17 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "banking";
-  version = "0.4.0";
+  version = "0.5.1";
   format = "other";
 
   src = fetchFromGitLab {
     owner = "tabos";
     repo = "banking";
     rev = version;
-    sha256 = "sha256-VGNCSirQslRfLIFeo375BNlHujoNXm+s55Ty+hB+ZRI=";
+    sha256 = "sha256-tZlBpDcwQ/aWroP2sFQBZcvmBD26PiY7q/8xFA8GnVc=";
   };
 
-  patches = [
-    # Fix build with meson 0.61
-    # https://gitlab.com/tabos/banking/-/merge_requests/90
-    (fetchpatch {
-      url = "https://gitlab.com/tabos/banking/-/commit/c3cc9afc380fe666ae6e331aa8a97659c60397a4.patch";
-      sha256 = "r9n9l47XU4Tg4U5sfiFdGkbG8QB7O4ol9CB1ya06yOc=";
-    })
-    # fix build with libadwaita 1.0.0
-    (fetchpatch {
-      url = "https://gitlab.com/tabos/banking/-/commit/27ac4a89ba6047005d43de71a469ef30d1fda8b5.patch";
-      hash = "sha256-dpDjdYf3gDsyFMTfGes+x27yUxKEnKjLulJxX2encG0=";
-    })
-  ];
-
   postPatch = ''
-    substituteInPlace meson_post_install.py \
-      --replace gtk-update-icon-cache gtk4-update-icon-cache
-
     patchShebangs meson_post_conf.py meson_post_install.py
   '';
 
@@ -70,12 +53,15 @@ python3.pkgs.buildPythonApplication rec {
     fints
     mt-940
     pygobject3
+    pysqlitecipher
+    schwifty
   ];
 
   meta = with lib; {
     description = "Banking application for small screens";
     homepage = "https://tabos.gitlab.io/projects/banking/";
     license = licenses.gpl3Plus;
+    mainProgram = "org.tabos.banking";
     maintainers = with maintainers; [ dotlambda ];
   };
 }