f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
31 lines
654 B
Nix
31 lines
654 B
Nix
{ buildOctavePackage
|
|
, lib
|
|
, fetchurl
|
|
, netcdf
|
|
, statistics
|
|
}:
|
|
|
|
buildOctavePackage rec {
|
|
pname = "ncarray";
|
|
version = "1.0.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-W6L2Esm7AdzntT7cimKylbeKYcZWKhHim96N5dM/qoE=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|