mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
32 lines
654 B
Nix
32 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";
|
|
};
|
|
}
|