python312Packages.beancount-plugin-utils: init at 0.0.4 (#325902)

This commit is contained in:
OTABI Tomoya 2024-12-04 22:00:27 +09:00 committed by GitHub
commit 0d3aa7f623
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{
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
];
pytestFlagsArray = [ "--fixtures tests/" ];
pythonImportsCheck = [ "beancount" ];
meta = with lib; {
homepage = "https://github.com/Akuukis/beancount_plugin_utils";
description = "Utils for beancount plugin writers - BeancountError, mark, metaset, etc";
license = licenses.agpl3Only;
maintainers = with maintainers; [ alapshin ];
};
}

View File

@ -1561,6 +1561,8 @@ self: super: with self; {
beancount-docverif = callPackage ../development/python-modules/beancount-docverif { };
beancount-plugin-utils = callPackage ../development/python-modules/beancount-plugin-utils { };
beanhub-cli = callPackage ../development/python-modules/beanhub-cli { };
beanhub-extract = callPackage ../development/python-modules/beanhub-extract { };