Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.schema-salad: adjust inputs

+14
+14
pkgs/development/python-modules/schema-salad/default.nix
··· 6 6 fetchFromGitHub, 7 7 importlib-resources, 8 8 mistune, 9 + mypy, 9 10 mypy-extensions, 10 11 pytestCheckHook, 12 + pythonRelaxDepsHook, 11 13 pythonOlder, 12 14 rdflib, 13 15 requests, 14 16 ruamel-yaml, 15 17 setuptools-scm, 18 + types-dataclasses, 19 + types-requests, 20 + types-setuptools, 16 21 }: 17 22 18 23 buildPythonPackage rec { ··· 29 34 hash = "sha256-AgXqeiA4sP7KBnUpb2uMWq45G0LhJ5uLtORrOG4UuB0="; 30 35 }; 31 36 37 + postPatch = '' 38 + substituteInPlace pyproject.toml \ 39 + --replace-fail "black>=19.10b0,<23.12" "black>=19.10b0" 40 + ''; 41 + 32 42 build-system = [ setuptools-scm ]; 33 43 34 44 dependencies = 35 45 [ 36 46 cachecontrol 37 47 mistune 48 + mypy 38 49 mypy-extensions 39 50 rdflib 40 51 requests 41 52 ruamel-yaml 53 + types-dataclasses 54 + types-requests 55 + types-setuptools 42 56 ] 43 57 ++ cachecontrol.optional-dependencies.filecache 44 58 ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];