grib-api: Add grib-api to pythonPackages

This provides a default method for using the grib-api python bindings.
This commit is contained in:
Josef Kemetmueller
2017-05-22 14:41:57 +00:00
parent 3b44cd731c
commit 2ff56a1b8f
2 changed files with 12 additions and 0 deletions
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec{
pythonPackages.python
];
propagatedBuildInputs = stdenv.lib.optionals enablePython [
pythonPackages.numpy
];
cmakeFlags = [ "-DENABLE_PYTHON=${if enablePython then "ON" else "OFF"}"
"-DENABLE_PNG=ON"
"-DENABLE_FORTRAN=ON"