Merge pull request #164272 from loicreynier/init-pythonpackages-f90nml
This commit is contained in:
commit
4dfaf007ec
28
pkgs/development/python-modules/f90nml/default.nix
Normal file
28
pkgs/development/python-modules/f90nml/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user