From 641913bdb64425989cbbf073da21785a472721f9 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 18 Dec 2021 17:56:18 +0100 Subject: [PATCH] beancount-ing-diba: init 0.6.0 Signed-off-by: Matthias Beyer --- .../office/beancount/beancount-ing-diba.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/applications/office/beancount/beancount-ing-diba.nix diff --git a/pkgs/applications/office/beancount/beancount-ing-diba.nix b/pkgs/applications/office/beancount/beancount-ing-diba.nix new file mode 100644 index 000000000000..67c76f738119 --- /dev/null +++ b/pkgs/applications/office/beancount/beancount-ing-diba.nix @@ -0,0 +1,31 @@ +{ lib +, stdenv +, fetchFromGitHub +, buildPythonApplication +, poetry +}: + +buildPythonApplication rec { + pname = "beancount-ing-diba"; + version = "0.6.0"; + + src = fetchFromGitHub { + owner = "siddhantgoel"; + repo = "beancount-ing-diba"; + rev = "v${version}"; + sha256 = "sha256-1cdXqdeTz38n0g13EXJ1/IF/gJJCe1uL/Z5NJz4DL+E="; + }; + + format = "pyproject"; + + nativeBuildInputs = [ + poetry + ]; + + meta = with lib; { + homepage = "https://github.com/siddhantgoel/beancount-ing-diba"; + description = "Beancount Importers for ING-DiBa (Germany) CSV Exports"; + license = licenses.mit; + maintainers = with maintainers; [ matthiasbeyer ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e55900398a42..3805f94cd841 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32415,6 +32415,10 @@ with pkgs; bastet = callPackage ../games/bastet { }; + beancount-ing-diba = callPackage ../applications/office/beancount/beancount-ing-diba.nix { + inherit (python3Packages) buildPythonApplication; + }; + black-hole-solver = callPackage ../games/black-hole-solver { inherit (perlPackages) PathTiny; };