pythonPackages.wrf-python: init at 1.3.1.1
This commit is contained in:
parent
18ad447b6f
commit
6dda7841bb
@ -2895,6 +2895,11 @@
|
|||||||
email = "code@klandest.in";
|
email = "code@klandest.in";
|
||||||
github = "mguentner";
|
github = "mguentner";
|
||||||
name = "Maximilian Güntner";
|
name = "Maximilian Güntner";
|
||||||
|
};
|
||||||
|
mhaselsteiner = {
|
||||||
|
email = "magdalena.haselsteiner@gmx.at";
|
||||||
|
github = "mhaselsteiner";
|
||||||
|
name = "Magdalena Haselsteiner";
|
||||||
};
|
};
|
||||||
mic92 = {
|
mic92 = {
|
||||||
email = "joerg@thalheim.io";
|
email = "joerg@thalheim.io";
|
||||||
|
41
pkgs/development/python-modules/wrf-python/default.nix
Normal file
41
pkgs/development/python-modules/wrf-python/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{lib, fetchFromGitHub, python, pythonOlder, buildPythonPackage, gfortran, mock, xarray, wrapt, numpy, netcdf4}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "wrf-python";
|
||||||
|
version = "1.3.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "NCAR";
|
||||||
|
repo = "wrf-python";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "12mm7x1r5md6x28vmwyh6k655pgsv6knj8ycmjbxxk8bk7qsj74h";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
wrapt
|
||||||
|
numpy
|
||||||
|
xarray
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
gfortran
|
||||||
|
] ++ lib.optional (pythonOlder "3.3") mock;
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
netcdf4
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
cd ./test/ci_tests
|
||||||
|
python utests.py
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "WRF postprocessing library for Python";
|
||||||
|
homepage = http://wrf-python.rtfd.org;
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ mhaselsteiner ];
|
||||||
|
};
|
||||||
|
}
|
@ -810,6 +810,8 @@ in {
|
|||||||
|
|
||||||
webapp2 = callPackage ../development/python-modules/webapp2 { };
|
webapp2 = callPackage ../development/python-modules/webapp2 { };
|
||||||
|
|
||||||
|
wrf-python = callPackage ../development/python-modules/wrf-python { };
|
||||||
|
|
||||||
pyunbound = callPackage ../tools/networking/unbound/python.nix { };
|
pyunbound = callPackage ../tools/networking/unbound/python.nix { };
|
||||||
|
|
||||||
WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { };
|
WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { };
|
||||||
|
Loading…
Reference in New Issue
Block a user