nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 49 lines 1.5 kB view raw
1{ 2 lib, 3 beancount, 4 buildPythonPackage, 5 fetchPypi, 6 pytestCheckHook, 7 regex, 8 setuptools-scm, 9}: 10 11buildPythonPackage rec { 12 pname = "beancount-docverif"; 13 version = "1.0.1"; 14 pyproject = true; 15 16 src = fetchPypi { 17 pname = "beancount_docverif"; 18 inherit version; 19 hash = "sha256-CFBv1FZP5JO+1MPnD86ttrO42zZlvE157zqig7s4HOg="; 20 }; 21 22 build-system = [ setuptools-scm ]; 23 24 dependencies = [ beancount ]; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 regex 29 ]; 30 31 pythonImportsCheck = [ "beancount_docverif" ]; 32 33 meta = { 34 description = "Document verification plugin for Beancount"; 35 homepage = "https://github.com/siriobalmelli/beancount_docverif"; 36 longDescription = '' 37 Docverif is the "Document Verification" plugin for beancount, fulfilling the following functions: 38 39 - Require that every transaction touching an account have an accompanying document on disk. 40 - Explicitly declare the name of a document accompanying a transaction. 41 - Explicitly declare that a transaction is expected not to have an accompanying document. 42 - Look for an "implicit" PDF document matching transaction data. 43 - Associate (and require) a document with any type of entry, including open entries themselves. 44 - Guarantee integrity: verify that every document declared does in fact exist on disk. 45 ''; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ siriobalmelli ]; 48 }; 49}