summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/gns3
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2022-02-14 11:43:24 -0800
committerJonathan Ringer <jonringer117@gmail.com>2022-02-14 11:43:24 -0800
commit9fdbf32f1a031d15967fc42394f4442511b27986 (patch)
tree6a043a012c67af150956c19e6bac512c18fc3a11 /pkgs/applications/networking/gns3
parent877f1347ce3bb8bc5e95f4c446d5fddb85564d9f (diff)
gns3-gui: fix build
Diffstat (limited to 'pkgs/applications/networking/gns3')
-rw-r--r--pkgs/applications/networking/gns3/gui.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/pkgs/applications/networking/gns3/gui.nix b/pkgs/applications/networking/gns3/gui.nix
index 7aebfba1b49b..95ec995cbfd5 100644
--- a/pkgs/applications/networking/gns3/gui.nix
+++ b/pkgs/applications/networking/gns3/gui.nix
@@ -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";