octave.pkgs.optim: init at 1.6.0

This commit is contained in:
Karl Hallsby 2021-01-06 11:47:13 -06:00 committed by Doron Behar
parent 25b1e33707
commit 686dc5c60d
2 changed files with 38 additions and 0 deletions

View 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";
};
}

View file

@ -165,6 +165,8 @@ makeScope newScope (self:
optics = callPackage ../development/octave-modules/optics { };
optim = callPackage ../development/octave-modules/optim { };
signal = callPackage ../development/octave-modules/signal { };
symbolic = callPackage ../development/octave-modules/symbolic {