about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pontos/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pontos/default.nix')
-rw-r--r--pkgs/development/python-modules/pontos/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pontos/default.nix b/pkgs/development/python-modules/pontos/default.nix
index 7d78b0d3520d8..4d207628cf8e2 100644
--- a/pkgs/development/python-modules/pontos/default.nix
+++ b/pkgs/development/python-modules/pontos/default.nix
@@ -7,6 +7,7 @@
 , packaging
 , poetry-core
 , pytestCheckHook
+, typing-extensions
 , pythonOlder
 , rich
 , tomlkit
@@ -14,7 +15,7 @@
 
 buildPythonPackage rec {
   pname = "pontos";
-  version = "22.10.0";
+  version = "22.11.0";
   format = "pyproject";
 
   disabled = pythonOlder "3.7";
@@ -23,7 +24,7 @@ buildPythonPackage rec {
     owner = "greenbone";
     repo = pname;
     rev = "refs/tags/v${version}";
-    hash = "sha256-z+oJakeZARnyZrkkNjLlyFcOB73u9+G0tXhbI13neyc=";
+    hash = "sha256-WGtHMQ+8hACt8SMyO0zO80ASlfykJfHQOtNwyk1fsFE=";
   };
 
   nativeBuildInputs = [
@@ -35,19 +36,17 @@ buildPythonPackage rec {
     httpx
     packaging
     rich
+    typing-extensions
     tomlkit
-  ];
+  ] ++ lib.optionals (pythonOlder "3.8") [
+    typing-extensions
+  ] ++ httpx.optional-dependencies.http2;
 
   checkInputs = [
     git
     pytestCheckHook
   ];
 
-  postPatch = ''
-    substituteInPlace pyproject.toml \
-      --replace 'packaging = "^20.3"' 'packaging = "*"'
-  '';
-
   disabledTests = [
     "PrepareTestCase"
     # Signing fails
@@ -69,6 +68,7 @@ buildPythonPackage rec {
   meta = with lib; {
     description = "Collection of Python utilities, tools, classes and functions";
     homepage = "https://github.com/greenbone/pontos";
+    changelog = "https://github.com/greenbone/pontos/releases/tag/v${version}";
     license = with licenses; [ gpl3Plus ];
     maintainers = with maintainers; [ fab ];
   };