python312Packages.beancount-docverif: refactor

This commit is contained in:
Fabian Affolter 2024-07-13 08:35:34 +02:00
parent 01ab27c10e
commit aff99a0c93

View File

@ -1,32 +1,41 @@
{
lib,
beancount,
buildPythonPackage,
fetchPypi,
setuptools-scm,
beancount,
pytestCheckHook,
pythonOlder,
regex,
setuptools-scm,
}:
buildPythonPackage rec {
version = "1.0.1";
pname = "beancount-docverif";
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "beancount_docverif";
inherit version;
hash = "sha256-CFBv1FZP5JO+1MPnD86ttrO42zZlvE157zqig7s4HOg=";
};
nativeBuildInputs = [ setuptools-scm ];
build-system = [ setuptools-scm ];
propagatedBuildInputs = [ beancount ];
dependencies = [ beancount ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
regex
];
pythonImportsCheck = [ "beancount_docverif" ];
meta = with lib; {
homepage = "https://github.com/siriobalmelli/beancount_docverif";
description = "Document verification plugin for Beancount";
homepage = "https://github.com/siriobalmelli/beancount_docverif";
longDescription = ''
Docverif is the "Document Verification" plugin for beancount, fulfilling the following functions: