diff --git a/pkgs/development/python-modules/ulid-transform/default.nix b/pkgs/development/python-modules/ulid-transform/default.nix index 0f7ae6d0b42c..1ddfe0e5a5ba 100644 --- a/pkgs/development/python-modules/ulid-transform/default.nix +++ b/pkgs/development/python-modules/ulid-transform/default.nix @@ -4,6 +4,8 @@ buildPythonPackage, fetchFromGitHub, poetry-core, + pytest-benchmark, + pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, @@ -11,7 +13,7 @@ buildPythonPackage rec { pname = "ulid-transform"; - version = "0.9.0"; + version = "0.13.1"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -20,7 +22,7 @@ buildPythonPackage rec { owner = "bdraco"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-r9uxPXpmQSsL1rX4d9TH87olFbZugdGdNG++Ygjie1I="; + hash = "sha256-tOtOTFKBVQmCm02k9Q8r+EgF39iN+XNXCnlw2ppYM58="; }; nativeBuildInputs = [ @@ -29,12 +31,13 @@ buildPythonPackage rec { setuptools ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytest-benchmark + pytest-cov-stub + pytestCheckHook + ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=ulid_transform --cov-report=term-missing:skip-covered" "" - ''; + pytestFlagsArray = [ "--benchmark-disable" ]; pythonImportsCheck = [ "ulid_transform" ];