python3Packages.griffe: Use buildPythonPackage

and expose griffe as top-level attribute.
This commit is contained in:
Martin Weinelt 2022-10-02 16:14:53 +02:00
parent 2649e800ed
commit 227aec9ac1
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ lib
, aiofiles
, buildPythonApplication
, buildPythonPackage
, cached-property
, fetchFromGitHub
, git
@ -9,7 +9,7 @@
, pythonOlder
}:
buildPythonApplication rec {
buildPythonPackage rec {
pname = "griffe";
version = "0.22.0";
format = "pyproject";

View file

@ -16695,6 +16695,8 @@ with pkgs;
graphene = callPackage ../development/libraries/graphene { };
griffe = with python3Packages; toPythonApplication griffe;
gtk-doc = callPackage ../development/tools/documentation/gtk-doc { };
gtkdialog = callPackage ../development/tools/misc/gtkdialog { };