Commit f93c2ced authored by Sigmanificient's avatar Sigmanificient
Browse files

dt-schema: remove python override

parent 71bdc1e8
Loading
Loading
Loading
Loading
+2 −23
Original line number Diff line number Diff line
{
  python3,
  python3Packages,
}:

let
  python = python3.override {
    self = python;
    packageOverrides = self: super: {
      # see https://github.com/devicetree-org/dt-schema/issues/108
      jsonschema = super.jsonschema.overridePythonAttrs (old: rec {
        version = "4.17.3";

        src = old.src.override {
          inherit version;
          hash = "sha256-D4ZEN6uLYHa6ZwdFPvj5imoNUSqA6T+KvbZ29zfstg0=";
        };

        propagatedBuildInputs = with self; [
          attrs
          pyrsistent
        ];
      });
    };
  };
in
python.pkgs.toPythonApplication python.pkgs.dtschema
python3Packages.toPythonApplication python3Packages.dtschema