gns3-gui: fix build

This commit is contained in:
Jonathan Ringer 2022-02-14 11:43:24 -08:00
parent 877f1347ce
commit 9fdbf32f1a
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -7,7 +7,21 @@ let
];
python = python3.override {
packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) defaultOverrides;
packageOverrides = lib.foldr lib.composeExtensions (self: super: {
jsonschema = super.jsonschema.overridePythonAttrs (oldAttrs: rec {
version = "3.2.0";
src = super.fetchPypi {
inherit (oldAttrs) pname;
inherit version;
sha256 = "sha256-yKhbKNN3zHc35G4tnytPRO48Dh3qxr9G3e/HGH0weXo=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
doCheck = false;
});
}) defaultOverrides;
};
in python.pkgs.buildPythonPackage rec {
pname = "gns3-gui";