depot/third_party/nixpkgs/pkgs/development/octave-modules/optim/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

36 lines
703 B
Nix

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