diff --git a/pkgs/development/python-modules/snitun/default.nix b/pkgs/development/python-modules/snitun/default.nix index 3f95f9cd081b..b17c173e0144 100644 --- a/pkgs/development/python-modules/snitun/default.nix +++ b/pkgs/development/python-modules/snitun/default.nix @@ -8,6 +8,7 @@ cryptography, fetchFromGitHub, pytest-aiohttp, + pytest-codspeed, pytestCheckHook, pythonAtLeast, pythonOlder, @@ -16,7 +17,7 @@ buildPythonPackage rec { pname = "snitun"; - version = "0.40.0"; + version = "0.44.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -25,9 +26,14 @@ buildPythonPackage rec { owner = "NabuCasa"; repo = "snitun"; tag = version; - hash = "sha256-wit0GVuWFMl1u+VC7Aw+dPcvqLGyviSz/DVUKXvSvAs="; + hash = "sha256-jZRA/UKamB5fUSvyaemN0Vq4GX6bNL8rsYCgToEkIL4="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'version = "0.0.0"' 'version = "${version}"' + ''; + build-system = [ setuptools ]; dependencies = [ @@ -39,6 +45,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-aiohttp + pytest-codspeed pytestCheckHook ];