16 # optional-dependencies
25 buildPythonPackage rec {
30 disabled = pythonOlder "3.8";
33 inherit pname version;
34 hash = "sha256-XWdB0yGYKxz2PJVNbXpNnsG/SaF3ysZn8JjrDn/rZ7w=";
46 ] ++ lib.optionals (pythonOlder "3.12") [ importlib-resources ];
48 optional-dependencies = {
49 pydantic = [ pydantic ];
55 ] ++ lib.flatten (lib.attrValues optional-dependencies);
57 pythonImportsCheck = [ "schwifty" ];
60 changelog = "https://github.com/mdomke/schwifty/blob/${version}/CHANGELOG.rst";
61 description = "Validate/generate IBANs and BICs";
62 homepage = "https://github.com/mdomke/schwifty";
63 license = licenses.mit;
64 maintainers = with maintainers; [ milibopp ];