diff --git a/pkgs/development/python-modules/griffe/default.nix b/pkgs/development/python-modules/griffe/default.nix index 0ae203f6331f..8f6acc289d6a 100644 --- a/pkgs/development/python-modules/griffe/default.nix +++ b/pkgs/development/python-modules/griffe/default.nix @@ -1,18 +1,19 @@ -{ lib -, aiofiles -, buildPythonPackage -, colorama -, fetchFromGitHub -, git -, jsonschema -, pdm-backend -, pytestCheckHook -, pythonOlder +{ + lib, + aiofiles, + buildPythonPackage, + colorama, + fetchFromGitHub, + git, + jsonschema, + pdm-backend, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { pname = "griffe"; - version = "0.42.1"; + version = "0.42.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,16 +22,12 @@ buildPythonPackage rec { owner = "mkdocstrings"; repo = "griffe"; rev = "refs/tags/${version}"; - hash = "sha256-KaD3j96FJJx43m/nfHa4kAft4FcDOdq+2dsiaMY7PPY="; + hash = "sha256-W6aOhz8UxJUc2kNRc4JaCqFgIOXsY8ctyQ3xZ+YaD9k="; }; - nativeBuildInputs = [ - pdm-backend - ]; + build-system = [ pdm-backend ]; - propagatedBuildInputs = [ - colorama - ]; + dependencies = [ colorama ]; nativeCheckInputs = [ git @@ -39,21 +36,17 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - async = [ - aiofiles - ]; + async = [ aiofiles ]; }; - pythonImportsCheck = [ - "griffe" - ]; + pythonImportsCheck = [ "griffe" ]; meta = with lib; { description = "Signatures for entire Python programs"; - mainProgram = "griffe"; homepage = "https://github.com/mkdocstrings/griffe"; changelog = "https://github.com/mkdocstrings/griffe/blob/${version}/CHANGELOG.md"; license = licenses.isc; maintainers = with maintainers; [ fab ]; + mainProgram = "griffe"; }; }