Merge pull request #299901 from dotlambda/python3Packages.fints

python311Packages.fints: 4.0.0 -> 4.1.0

authored by Martin Weinelt and committed by GitHub 5827f495 c030874d

+18 -7
+18 -7
pkgs/development/python-modules/fints/default.nix
··· 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 bleach, 7 mt-940, ··· 12 }: 13 14 buildPythonPackage rec { 15 - version = "4.0.0"; 16 pname = "fints"; 17 - disabled = pythonOlder "3.6"; 18 19 - format = "setuptools"; 20 21 src = fetchFromGitHub { 22 owner = "raphaelm"; 23 repo = "python-fints"; 24 rev = "v${version}"; 25 - hash = "sha256-SREprcrIdeKVpL22IViexwiKmFfbT2UbKEmxtVm6iu0="; 26 }; 27 28 - propagatedBuildInputs = [ 29 - requests 30 mt-940 31 sepaxml 32 - bleach 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook
··· 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 + setuptools, 6 fetchFromGitHub, 7 bleach, 8 mt-940, ··· 13 }: 14 15 buildPythonPackage rec { 16 + version = "4.1.0"; 17 pname = "fints"; 18 + pyproject = true; 19 20 + disabled = pythonOlder "3.6"; 21 22 src = fetchFromGitHub { 23 owner = "raphaelm"; 24 repo = "python-fints"; 25 rev = "v${version}"; 26 + hash = "sha256-1k6ZeYlv0vxNkqQse9vi/NT6ag3DJONKCWB594LvER0="; 27 }; 28 29 + postPatch = '' 30 + substituteInPlace setup.py \ 31 + --replace-fail "enum-tools~=0.9.0" "" 32 + sed -i "/document_enum/d" fints/formals.py 33 + ''; 34 + 35 + build-system = [ setuptools ]; 36 + 37 + dependencies = [ 38 + bleach 39 mt-940 40 + requests 41 sepaxml 42 ]; 43 + 44 + pythonImportsCheck = [ "fints" ]; 45 46 nativeCheckInputs = [ 47 pytestCheckHook