diff --git a/pkgs/development/python-modules/hightime/default.nix b/pkgs/development/python-modules/hightime/default.nix index d04932ed4b5b..560d7708e84f 100644 --- a/pkgs/development/python-modules/hightime/default.nix +++ b/pkgs/development/python-modules/hightime/default.nix @@ -2,25 +2,25 @@ lib, buildPythonPackage, fetchFromGitHub, - setuptools, + poetry-core, pytestCheckHook, pytest-cov-stub, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "hightime"; - version = "0.2.2"; + version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "ni"; repo = "hightime"; - rev = "v${version}"; - hash = "sha256-P/ZP5smKyNg18YGYWpm/57YGFY3MrX1UIVDU5RsF+rA="; + rev = "v${finalAttrs.version}"; + hash = "sha256-5WEr2tOxQap+otV8DCdIi3MkfHol4TU4qZXf4u2EQhY="; }; build-system = [ - setuptools + poetry-core ]; nativeCheckInputs = [ @@ -36,10 +36,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "hightime" ]; meta = { - changelog = "https://github.com/ni/hightime/releases/tag/v${version}"; + changelog = "https://github.com/ni/hightime/releases/tag/v${finalAttrs.version}"; description = "Hightime Python API"; homepage = "https://github.com/ni/hightime"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fsagbuya ]; }; -} +})