diff --git a/pkgs/development/python-modules/ghrepo-stats/default.nix b/pkgs/development/python-modules/ghrepo-stats/default.nix index ee83ba4a47d6..4b66dddd0d61 100644 --- a/pkgs/development/python-modules/ghrepo-stats/default.nix +++ b/pkgs/development/python-modules/ghrepo-stats/default.nix @@ -5,12 +5,13 @@ fetchFromGitHub, matplotlib, pygithub, + setuptools, }: buildPythonPackage rec { pname = "ghrepo-stats"; version = "0.5.5"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "mrbean-bremen"; @@ -34,6 +35,8 @@ buildPythonPackage rec { # Module has no tests doCheck = false; + build-system = [ setuptools ]; + pythonImportsCheck = [ "ghrepo_stats" ]; meta = {