Skip to content

Commit

Permalink
python311Packages.beancount-docverif: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Oct 8, 2023
1 parent 70a357a commit b0be1e8
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions pkgs/development/python-modules/beancount-docverif/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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";
Expand Down

0 comments on commit b0be1e8

Please sign in to comment.