octave.pkgs.optim: init at 1.6.0
This commit is contained in:
parent
25b1e33707
commit
686dc5c60d
36
pkgs/development/octave-modules/optim/default.nix
Normal file
36
pkgs/development/octave-modules/optim/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ buildOctavePackage
|
||||||
|
, lib
|
||||||
|
, fetchurl
|
||||||
|
, struct
|
||||||
|
, statistics
|
||||||
|
, lapack
|
||||||
|
, blas
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildOctavePackage rec {
|
||||||
|
pname = "optim";
|
||||||
|
version = "1.6.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "1z2h8gy99glxh5qi3r22am2vdirlbklkq0lx4r8jrx1ak7awh47r";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
lapack
|
||||||
|
blas
|
||||||
|
];
|
||||||
|
|
||||||
|
requiredOctavePackages = [
|
||||||
|
struct
|
||||||
|
statistics
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://octave.sourceforge.io/optim/index.html";
|
||||||
|
license = with licenses; [ gpl3Plus publicDomain ];
|
||||||
|
# Modified BSD code seems removed
|
||||||
|
maintainers = with maintainers; [ KarlJoad ];
|
||||||
|
description = "Non-linear optimization toolkit";
|
||||||
|
};
|
||||||
|
}
|
|
@ -165,6 +165,8 @@ makeScope newScope (self:
|
||||||
|
|
||||||
optics = callPackage ../development/octave-modules/optics { };
|
optics = callPackage ../development/octave-modules/optics { };
|
||||||
|
|
||||||
|
optim = callPackage ../development/octave-modules/optim { };
|
||||||
|
|
||||||
signal = callPackage ../development/octave-modules/signal { };
|
signal = callPackage ../development/octave-modules/signal { };
|
||||||
|
|
||||||
symbolic = callPackage ../development/octave-modules/symbolic {
|
symbolic = callPackage ../development/octave-modules/symbolic {
|
||||||
|
|
Loading…
Reference in a new issue