diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-02-11 11:18:39 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2022-02-11 11:18:44 -0800 |
commit | 877f1347ce3bb8bc5e95f4c446d5fddb85564d9f (patch) | |
tree | 6a1f78f83eeced4e8eb4af0764eaf4a98b7d8baa | |
parent | 81db6645f4512a6edcc07bc463875a547b87883a (diff) |
gns3-server: fix build, use buildPythonApplication
-rw-r--r-- | pkgs/applications/networking/gns3/server.nix | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix index ab3a6db587cf..818c01a89ab4 100644 --- a/pkgs/applications/networking/gns3/server.nix +++ b/pkgs/applications/networking/gns3/server.nix @@ -17,13 +17,28 @@ let }; doCheck = false; }); + + 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; + }); + }) ]; python = python3.override { packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) ([ packageOverrides ] ++ defaultOverrides); }; -in python.pkgs.buildPythonPackage { +in python.pkgs.buildPythonApplication { pname = "gns3-server"; inherit version; |