Merge pull request #164272 from loicreynier/init-pythonpackages-f90nml

This commit is contained in:
Sandro 2022-06-05 00:22:21 +02:00 committed by GitHub
commit 4dfaf007ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -2887,6 +2887,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 { };