Unverified Commit 6bad8d62 authored by Pyrox's avatar Pyrox
Browse files

python312Packages.f90nml: modernize

parent fd8384af
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  python,
  setuptools-scm,
  unittestCheckHook,
}:
@@ -10,7 +9,7 @@
buildPythonPackage rec {
  pname = "f90nml";
  version = "1.4.1";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "marshallward";
@@ -19,17 +18,17 @@ buildPythonPackage rec {
    hash = "sha256-nSpVBAS2VvXIQwYK/qVVzEc13bicAQ+ScXpO4Rn2O+8=";
  };

  nativeBuildInputs = [ setuptools-scm ];
  build-system = [ setuptools-scm ];

  nativeCheckInputs = [ unittestCheckHook ];

  pythonImportsCheck = [ "f90nml" ];

  meta = with lib; {
  meta = {
    description = "Python module for working with Fortran Namelists";
    mainProgram = "f90nml";
    homepage = "https://f90nml.readthedocs.io";
    license = licenses.asl20;
    maintainers = with maintainers; [ loicreynier ];
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ loicreynier ];
  };
}