pythonPackages.f90nml: init at 1.4.1

This commit is contained in:
Loïc Reynier 2022-03-15 14:55:36 +01:00
parent 346b98c22b
commit 5a17895aea
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchFromGitHub, python, setuptools-scm }:
buildPythonPackage rec {
pname = "f90nml";
version = "1.4.1";
src = fetchFromGitHub {
owner = "marshallward";
repo = pname;
rev = "v" + version;
sha256 = "sha256-nSpVBAS2VvXIQwYK/qVVzEc13bicAQ+ScXpO4Rn2O+8=";
};
nativeBuildInputs = [ setuptools-scm ];
checkPhase = ''
${python.interpreter} setup.py test
'';
pythonImportsCheck = [ "f90nml" ];
meta = with lib; {
description = "Python module for working with Fortran Namelists";
homepage = "https://f90nml.readthedocs.io";
license = licenses.asl20;
maintainers = with maintainers; [ loicreynier ];
};
}

View file

@ -2873,6 +2873,8 @@ in {
ezdxf = callPackage ../development/python-modules/ezdxf { };
f90nml = callPackage ../development/python-modules/f90nml { };
Fabric = callPackage ../development/python-modules/Fabric { };
faadelays = callPackage ../development/python-modules/faadelays { };