16 buildPythonPackage rec {
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
27 hash = "sha256-4iIs/M9fzGJsnKCDSl09OTUoh7j6REBXuutE5uXFe3k=";
30 nativeBuildInputs = [ gfortran ];
32 propagatedBuildInputs = [
40 nativeCheckInputs = [ netcdf4 ];
45 ${python.interpreter} utests.py
49 pythonImportsCheck = [ "wrf" ];
52 # `ModuleNotFoundError: No module named 'distutils.msvccompiler'` on Python 3.11
53 # `ModuleNotFoundError: No module named 'numpy.distutils'` on Python 3.12
55 description = "WRF postprocessing library for Python";
56 homepage = "http://wrf-python.rtfd.org";
57 license = licenses.asl20;
58 maintainers = with maintainers; [ mhaselsteiner ];