9 buildPythonPackage rec {
12 format = "setuptools";
14 src = fetchFromGitHub {
16 repo = "vat_moss-python";
18 hash = "sha256-c0lcyeW8IUhWKcfn3BmsbNmHyAzm8T0sdYp0Zp0FbFw=";
23 # Update API URL to HTTPS
24 url = "https://github.com/raphaelm/vat_moss-python/commit/ed32b7d893da101332d3bb202d17b1bf89e5d9ed.patch";
25 hash = "sha256-GpxaQ6/1LdFdxzXT/p4HS7FHU0WeM0i3LbdRFeqnFdw=";
29 pythonImportsCheck = [ "vat_moss" ];
31 nativeCheckInputs = [ pytestCheckHook ];
33 disabledTests = [ "test_fetch" ];
41 description = "Python library for dealing with VAT MOSS and Norway VAT on digital services. Includes VAT ID validation, rate calculation based on place of supply, exchange rate and currency tools for invoices";
42 homepage = "https://github.com/raphaelm/vat_moss-python";
43 changelog = "https://github.com/raphaelm/vat_moss-python/blob/${src.rev}/changelog.md";
44 license = licenses.mit;
45 maintainers = with maintainers; [ hexa ];