blob: 4d4f6ee9f3bc986483c6eeb2f3103fc33e44a634 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
lib,
beancount,
buildPythonPackage,
fetchFromGitHub,
pytest-bdd,
pytestCheckHook,
regex,
setuptools,
}:
buildPythonPackage rec {
pname = "beancount-plugin-utils";
version = "0.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "Akuukis";
repo = "beancount_plugin_utils";
rev = "v${version}";
hash = "sha256-oyfL2K/sS4zZ7cq1P36h0dTcW1m5GUyQ9+IyZGfpb2E=";
};
build-system = [ setuptools ];
dependencies = [ beancount ];
nativeCheckInputs = [
pytest-bdd
pytestCheckHook
regex
];
pytestFlags = [ "--fixtures" ];
enabledTestPaths = [
"tests/"
];
pythonImportsCheck = [ "beancount" ];
meta = {
homepage = "https://github.com/Akuukis/beancount_plugin_utils";
description = "Utils for beancount plugin writers - BeancountError, mark, metaset, etc";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ alapshin ];
};
}
|