grib-api: Add grib-api to pythonPackages
This provides a default method for using the grib-api python bindings.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user