diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-03-30 19:46:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 19:46:16 +0200 |
commit | a5771afd1e23ed81e4929ae086de5a62305c2d38 (patch) | |
tree | d6fb0292b45e864da6d7fec6402758b13a61e10c /pkgs/applications | |
parent | 6d195109c921d9b90b92682c1cbe93e5c9009ad8 (diff) | |
parent | 540441dbc3c3b760263106fb6137ad9877c7ca9b (diff) |
Merge pull request #223891 from fabaff/aiomysensors-bump
python310Packages.aiomysensors: 0.3.6 -> 0.3.9, python310Packages.aiofiles: 22.1.0 -> 23.1.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/gns3/server.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix index 5bc6e9be80c2e..e7c548c67d08b 100644 --- a/pkgs/applications/networking/gns3/server.nix +++ b/pkgs/applications/networking/gns3/server.nix @@ -17,16 +17,20 @@ python3.pkgs.buildPythonApplication { src = fetchFromGitHub { owner = "GNS3"; repo = "gns3-server"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; sha256 = sha256Hash; }; - postPatch = '' - substituteInPlace requirements.txt \ - --replace "psutil==" "psutil>=" \ - --replace "jsonschema>=4.17.0,<4.18" "jsonschema" \ - --replace "sentry-sdk==1.10.1,<1.11" "sentry-sdk" - ''; + pythonRelaxDeps = [ + "aiofiles" + "jsonschema" + "psutil" + "sentry-sdk" + ]; + + nativeBuildInputs = with python3.pkgs; [ + pythonRelaxDepsHook + ]; propagatedBuildInputs = with python3.pkgs; [ aiofiles |