diff options
Diffstat (limited to 'pkgs/applications/networking/gns3/server.nix')
-rw-r--r-- | pkgs/applications/networking/gns3/server.nix | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix index a07409810c015..5eee199d69155 100644 --- a/pkgs/applications/networking/gns3/server.nix +++ b/pkgs/applications/networking/gns3/server.nix @@ -3,24 +3,14 @@ , version , sha256Hash , mkOverride -, commonOverrides }: { lib , python3 , fetchFromGitHub -, packageOverrides ? self: super: {} }: -let - defaultOverrides = commonOverrides ++ [ - ]; - - python = python3.override { - packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) ([ packageOverrides ] ++ defaultOverrides); - }; - -in python.pkgs.buildPythonApplication { +python3.pkgs.buildPythonApplication { pname = "gns3-server"; inherit version; @@ -33,23 +23,17 @@ in python.pkgs.buildPythonApplication { postPatch = '' substituteInPlace requirements.txt \ - --replace "aiohttp==" "aiohttp>=" \ - --replace "aiofiles==" "aiofiles>=" \ - --replace "Jinja2==" "Jinja2>=" \ - --replace "sentry-sdk==" "sentry-sdk>=" \ - --replace "async-timeout==" "async-timeout>=" \ --replace "psutil==" "psutil>=" \ - --replace "distro==" "distro>=" \ - --replace "py-cpuinfo==" "py-cpuinfo>=" \ - --replace "setuptools==" "setuptools>=" + --replace "jsonschema>=4.17.0,<4.18" "jsonschema" ''; - propagatedBuildInputs = with python.pkgs; [ + propagatedBuildInputs = with python3.pkgs; [ aiofiles aiohttp aiohttp-cors async_generator distro + importlib-resources jinja2 jsonschema multidict |