mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
Merge pull request #326734 from fabaff/beancount-docverif-fix
python312Packages.beancount-docverif: refactor
This commit is contained in:
commit
239de4a6e5
@ -1,32 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
beancount,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools-scm,
|
||||
beancount,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
regex,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.1";
|
||||
pname = "beancount-docverif";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "beancount_docverif";
|
||||
inherit version;
|
||||
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; {
|
||||
homepage = "https://github.com/siriobalmelli/beancount_docverif";
|
||||
description = "Document verification plugin for Beancount";
|
||||
homepage = "https://github.com/siriobalmelli/beancount_docverif";
|
||||
longDescription = ''
|
||||
Docverif is the "Document Verification" plugin for beancount, fulfilling the following functions:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user