Commit 1576cb2a authored by Guy Chronister's avatar Guy Chronister
Browse files

hovercraft: migrate to pyproject and modernize build inputs

Switch packaging to pyproject-based build by setting `pyproject = true`.
Add `build-system = [ python3Packages.setuptools ]` and move
`nativeCheckInputs` to an explicit list. Normalize maintainer entry
to a list and keep dependency declarations consistent.

No functional changes to version or source; this is a packaging cleanup.
parent e621b82a
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
python3Packages.buildPythonApplication rec {
  pname = "hovercraft";
  version = "2.7";
  format = "setuptools";
  pyproject = true;
  disabled = !python3Packages.isPy3k;

  src = fetchFromGitHub {
@@ -18,7 +18,9 @@ python3Packages.buildPythonApplication rec {
    hash = "sha256-X6EaiVahAYAaFB65oqmj695wlJFXNseqz0SQLzGVD0w=";
  };

  nativeCheckInputs = with python3Packages; [ manuel ];
  build-system = [ python3Packages.setuptools ];

  nativeCheckInputs = [ python3Packages.manuel ];

  dependencies = with python3Packages; [
    setuptools
@@ -41,6 +43,6 @@ python3Packages.buildPythonApplication rec {
    mainProgram = "hovercraft";
    homepage = "https://github.com/regebro/hovercraft";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ makefu ];
    maintainers = [ lib.maintainers.makefu ];
  };
}