Skyler Grey | 2c9c3e7 | 2024-07-17 22:00:16 +0000 | [diff] [blame] | 1 | { lib |
| 2 | , python3 |
| 3 | }: let |
| 4 | pname = "autobean"; |
| 5 | version = "0.2.2"; |
| 6 | in python3.pkgs.buildPythonApplication { |
| 7 | inherit pname version; |
| 8 | |
| 9 | src = python3.pkgs.fetchPypi { |
| 10 | inherit pname version; |
| 11 | sha256 = "sha256-2gN9AyP66r2AwrTWJnRf+9W+TTfylRQkSAEea4tvKko="; |
| 12 | }; |
| 13 | |
| 14 | format = "pyproject"; |
| 15 | |
| 16 | propagatedBuildInputs = [ |
| 17 | python3.pkgs.beancount |
| 18 | python3.pkgs.python-dateutil |
| 19 | python3.pkgs.pyyaml |
| 20 | python3.pkgs.requests |
| 21 | ]; |
| 22 | |
| 23 | buildInputs = [ |
| 24 | python3.pkgs.setuptools |
| 25 | python3.pkgs.pdm-pep517 |
| 26 | ]; |
| 27 | |
| 28 | meta = { |
| 29 | homepage = "https://github.com/SEIAROTg/autobean"; |
| 30 | description = "A collection of plugins and scripts that help automating bookkeeping with beancount"; |
| 31 | license = lib.licenses.gpl2; |
| 32 | maintainers = [ lib.maintainers.minion3665 ]; |
| 33 | }; |
| 34 | |
| 35 | patches = [ |
| 36 | ./skip-empty-account-types.patch |
| 37 | ]; |
| 38 | } |