Commit 5866807d authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.ghapi: refactor

parent e9941fba
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -5,12 +5,13 @@
  fastcore,
  packaging,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "ghapi";
  version = "1.0.6";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.8";

@@ -21,7 +22,9 @@ buildPythonPackage rec {
    hash = "sha256-ii19wuFAxMiGce37TNXRNSdvMcGWQjCfPukeqxySYnc=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    fastcore
    packaging
  ];
@@ -34,6 +37,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python interface to GitHub's API";
    homepage = "https://github.com/fastai/ghapi";
    changelog = "https://github.com/fastai/ghapi/releases/tag/${version}";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };