biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / dt-schema / default.nix
blob5736d301b32d4329eac4b20586d1a5ce6d19628c
1 { lib
2 , python3
3 }:
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 {
9       version = "4.17.3";
10       disabled = self.pythonOlder "3.7";
12       src = old.src.override {
13         inherit version;
14         hash = "sha256-D4ZEN6uLYHa6ZwdFPvj5imoNUSqA6T+KvbZ29zfstg0=";
15       };
17       propagatedBuildInputs = with self; ([
18         attrs
19         pyrsistent
20       ] ++ lib.optionals (pythonOlder "3.8") [
21         importlib-metadata
22         typing-extensions
23       ] ++ lib.optionals (pythonOlder "3.9") [
24         importlib-resources
25         pkgutil-resolve-name
26       ]);
27     });
28   };
29 }; in python.pkgs.toPythonApplication python.pkgs.dtschema