mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
pythonPackages.f90nml: init at 1.4.1
This commit is contained in:
parent
346b98c22b
commit
5a17895aea
2 changed files with 30 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue