Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / office / beancount / beancount-ing-diba.nix
blobe1f3cb55fd8a8bbe8c4b1dac789bcb2f977338f7
1 { lib
2 , python3
3 , fetchFromGitHub
4 , fetchpatch
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "beancount-ing-diba";
9   version = "0.6.0";
11   src = fetchFromGitHub {
12     owner = "siddhantgoel";
13     repo = "beancount-ing-diba";
14     rev = "v${version}";
15     sha256 = "sha256-1cdXqdeTz38n0g13EXJ1/IF/gJJCe1uL/Z5NJz4DL+E=";
16   };
18   patches = [
19     (fetchpatch {
20       name = "use-poetry-core.patch";
21       url = "https://github.com/siddhantgoel/beancount-ing/commit/2d030330eed313a32c3968a2c8ce9400c6d18a41.patch";
22       hash = "sha256-6v7eQhgj6d4x9uWSyuO3IxXrSWkJZRS/M4N3j0H3R/U=";
23     })
24   ];
26   format = "pyproject";
28   nativeBuildInputs = with python3.pkgs; [
29     poetry-core
30   ];
32   meta = with lib; {
33     homepage = "https://github.com/siddhantgoel/beancount-ing-diba";
34     description = "Beancount Importers for ING-DiBa (Germany) CSV Exports";
35     license = licenses.mit;
36     maintainers = with maintainers; [ matthiasbeyer ];
37   };