mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
python311Packages.fints: 4.0.0 -> 4.1.0
Diff: https://github.com/raphaelm/python-fints/compare/v4.0.0...v4.1.0
This commit is contained in:
parent
5f736f2ef1
commit
5634313f9f
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
fetchFromGitHub,
|
||||
bleach,
|
||||
mt-940,
|
||||
@ -12,26 +13,36 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "4.0.0";
|
||||
version = "4.1.0";
|
||||
pname = "fints";
|
||||
disabled = pythonOlder "3.6";
|
||||
pyproject = true;
|
||||
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raphaelm";
|
||||
repo = "python-fints";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-SREprcrIdeKVpL22IViexwiKmFfbT2UbKEmxtVm6iu0=";
|
||||
hash = "sha256-1k6ZeYlv0vxNkqQse9vi/NT6ag3DJONKCWB594LvER0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
mt-940
|
||||
sepaxml
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "enum-tools~=0.9.0" ""
|
||||
sed -i "/document_enum/d" fints/formals.py
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
bleach
|
||||
mt-940
|
||||
requests
|
||||
sepaxml
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "fints" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
|
Loading…
Reference in New Issue
Block a user