mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 22:04:20 +00:00
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
|
||||
, beancount
|
||||
, pytest, sh
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.1";
|
||||
pname = "beancount-docverif";
|
||||
|
||||
disabled = !isPy3k;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "beancount_docverif";
|
||||
@ -25,14 +24,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
sh
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/siriobalmelli/beancount_docverif";
|
||||
description = "Document verification plugin for Beancount";
|
||||
|
Loading…
Reference in New Issue
Block a user