python311Packages.beancount-docverif: refactor
This commit is contained in:
parent
70a357a075
commit
b0be1e86a1
@ -1,14 +1,13 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, beancount
|
, beancount
|
||||||
, pytest, sh
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.0.1";
|
version = "1.0.1";
|
||||||
pname = "beancount-docverif";
|
pname = "beancount-docverif";
|
||||||
|
pyproject = true;
|
||||||
disabled = !isPy3k;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "beancount_docverif";
|
pname = "beancount_docverif";
|
||||||
@ -25,14 +24,9 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
sh
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/siriobalmelli/beancount_docverif";
|
homepage = "https://github.com/siriobalmelli/beancount_docverif";
|
||||||
description = "Document verification plugin for Beancount";
|
description = "Document verification plugin for Beancount";
|
||||||
|
Loading…
Reference in New Issue
Block a user