2021-03-09 03:18:52 +00:00
|
|
|
{ buildOctavePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, netcdf
|
|
|
|
, statistics
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "ncarray";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.0.6";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
2024-07-27 06:49:29 +00:00
|
|
|
sha256 = "sha256-W6L2Esm7AdzntT7cimKylbeKYcZWKhHim96N5dM/qoE=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
netcdf
|
|
|
|
];
|
|
|
|
|
|
|
|
requiredOctavePackages = [
|
|
|
|
statistics
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://octave.sourceforge.io/ncarray/index.html";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ KarlJoad ];
|
|
|
|
description = "Access a single or a collection of NetCDF files as a multi-dimensional array";
|
|
|
|
};
|
|
|
|
}
|