5 let python = python3.override {
6 packageOverrides = self: super: {
7 # see https://github.com/devicetree-org/dt-schema/issues/108
8 jsonschema = super.jsonschema.overridePythonAttrs (old: rec {
10 disabled = self.pythonOlder "3.7";
12 src = old.src.override {
14 hash = "sha256-D4ZEN6uLYHa6ZwdFPvj5imoNUSqA6T+KvbZ29zfstg0=";
17 propagatedBuildInputs = with self; ([
20 ] ++ lib.optionals (pythonOlder "3.8") [
23 ] ++ lib.optionals (pythonOlder "3.9") [
29 }; in python.pkgs.toPythonApplication python.pkgs.dtschema