python312Packages.f90nml: modernize

This commit is contained in:
Pyrox
2024-08-02 22:54:17 -04:00
parent fd8384af70
commit 6bad8d6232
@@ -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 ];
};
}