Skip to content

Commit

Permalink
Merge pull request #259679 from natsukium/beancount-docverif
Browse files Browse the repository at this point in the history
python311Packages.beancount-docverif: rename from beancount_docverif
  • Loading branch information
mweinelt authored Oct 11, 2023
2 parents 37773cd + b0be1e8 commit 16e4649
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k
{ lib, buildPythonPackage, fetchPypi
, setuptools-scm
, beancount
, pytest, sh
, pytestCheckHook
}:

buildPythonPackage rec {
version = "1.0.1";
pname = "beancount_docverif";

disabled = !isPy3k;
pname = "beancount-docverif";
pyproject = true;

src = fetchPypi {
inherit pname version;
pname = "beancount_docverif";
inherit version;
hash = "sha256-CFBv1FZP5JO+1MPnD86ttrO42zZlvE157zqig7s4HOg=";
};

Expand All @@ -24,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
1 change: 1 addition & 0 deletions pkgs/top-level/python-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ mapAliases ({
backports_tempfile = throw "backports_tempfile has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
backports_unittest-mock = throw "backports_unittest-mock has been removed, since we no longer need to backport to python3.2"; # added 2023-07-28
backports_weakref = throw "backports_weakref has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
beancount_docverif = beancount-docverif; # added 2023-10-08
bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04
bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15
BlinkStick = blinkstick; # added 2023-02-19
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ self: super: with self; {

beancount-parser = callPackage ../development/python-modules/beancount-parser { };

beancount_docverif = callPackage ../development/python-modules/beancount_docverif { };
beancount-docverif = callPackage ../development/python-modules/beancount-docverif { };

beanstalkc = callPackage ../development/python-modules/beanstalkc { };

Expand Down

0 comments on commit 16e4649

Please sign in to comment.