Skip to content

Commit ec096a0

Browse files
committed
python313Package.beangulp: init at 0.2.0
1 parent 936dce8 commit ec096a0

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
lib,
3+
beancount,
4+
beautifulsoup4,
5+
buildPythonPackage,
6+
chardet,
7+
click,
8+
fetchFromGitHub,
9+
lxml,
10+
petl,
11+
python-magic,
12+
pytestCheckHook,
13+
setuptools,
14+
}:
15+
16+
buildPythonPackage rec {
17+
pname = "beangulp";
18+
version = "0.2.0";
19+
pyproject = true;
20+
21+
src = fetchFromGitHub {
22+
owner = "beancount";
23+
repo = "beangulp";
24+
tag = "v${version}";
25+
hash = "sha256-h7xLHwEyS+tOI7v6Erp12VfVnxOf4930++zghhC3in4=";
26+
};
27+
28+
build-system = [ setuptools ];
29+
30+
dependencies = [
31+
beancount
32+
beautifulsoup4
33+
chardet
34+
click
35+
lxml
36+
python-magic
37+
];
38+
39+
nativeCheckInputs = [
40+
petl
41+
pytestCheckHook
42+
];
43+
44+
pythonImportsCheck = [
45+
"beangulp"
46+
];
47+
48+
meta = {
49+
homepage = "https://github.com/beancount/beangulp";
50+
description = "Importers framework for Beancount";
51+
longDescription = ''
52+
Beangulp provides a framework for importing transactions into a Beancoount
53+
ledger from account statements and other documents and for managing documents.
54+
'';
55+
license = lib.licenses.gpl2Only;
56+
maintainers = with lib.maintainers; [ alapshin ];
57+
};
58+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,6 +1597,8 @@ self: super: with self; {
15971597

15981598
beancount-plugin-utils = callPackage ../development/python-modules/beancount-plugin-utils { };
15991599

1600+
beangulp = callPackage ../development/python-modules/beangulp { };
1601+
16001602
beanhub-cli = callPackage ../development/python-modules/beanhub-cli { };
16011603

16021604
beanhub-extract = callPackage ../development/python-modules/beanhub-extract { };

0 commit comments

Comments
 (0)