python312Packages.beancount-docverif: refactor
This commit is contained in:
parent
01ab27c10e
commit
aff99a0c93
@ -1,32 +1,41 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
beancount,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
setuptools-scm,
|
|
||||||
beancount,
|
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
pythonOlder,
|
||||||
|
regex,
|
||||||
|
setuptools-scm,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.0.1";
|
|
||||||
pname = "beancount-docverif";
|
pname = "beancount-docverif";
|
||||||
|
version = "1.0.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "beancount_docverif";
|
pname = "beancount_docverif";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-CFBv1FZP5JO+1MPnD86ttrO42zZlvE157zqig7s4HOg=";
|
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; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/siriobalmelli/beancount_docverif";
|
|
||||||
description = "Document verification plugin for Beancount";
|
description = "Document verification plugin for Beancount";
|
||||||
|
homepage = "https://github.com/siriobalmelli/beancount_docverif";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Docverif is the "Document Verification" plugin for beancount, fulfilling the following functions:
|
Docverif is the "Document Verification" plugin for beancount, fulfilling the following functions:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user