nixpkgs/pkgs/development/octave-modules/ncarray/default.nix

32 lines
655 B
Nix
Raw Normal View History

2021-01-06 17:29:00 +00:00
{ buildOctavePackage
, lib
, fetchurl
, netcdf
, statistics
}:
buildOctavePackage rec {
pname = "ncarray";
version = "1.0.4";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0v96iziikvq2v7hczhbfs9zmk49v99kn6z3lgibqqpwam175yqgd";
};
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";
};
}