nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 53 lines 956 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 setuptools, 5 fetchFromGitHub, 6 bleach, 7 mt-940, 8 pretix-banktool, 9 requests, 10 sepaxml, 11 pytestCheckHook, 12 pytest-mock, 13}: 14 15buildPythonPackage rec { 16 version = "4.2.4"; 17 pname = "fints"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "raphaelm"; 22 repo = "python-fints"; 23 tag = "v${version}"; 24 hash = "sha256-la5vpWBoZ7hZsAyjjCqHpFfOykDVosI/S9amox1dmzY="; 25 }; 26 27 pythonRemoveDeps = [ "enum-tools" ]; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 bleach 33 mt-940 34 requests 35 sepaxml 36 ]; 37 38 __darwinAllowLocalNetworking = true; 39 40 pythonImportsCheck = [ "fints" ]; 41 42 nativeCheckInputs = [ 43 pytestCheckHook 44 pytest-mock 45 ]; 46 47 meta = { 48 homepage = "https://github.com/raphaelm/python-fints/"; 49 description = "Pure-python FinTS (formerly known as HBCI) implementation"; 50 license = lib.licenses.lgpl3Only; 51 inherit (pretix-banktool.meta) maintainers; 52 }; 53}