about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/science/math/liblbfgs/default.nix
blob: 49108e5e33052e372b80924365212f0bafc39d72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ stdenv, fetchurl }:
stdenv.mkDerivation {
  name = "liblbfgs-1.10";

  configureFlags = [ "--enable-sse2" ];
  src = fetchurl {
    url = "https://github.com/downloads/chokkan/liblbfgs/liblbfgs-1.10.tar.gz";
    sha256 = "1kv8d289rbz38wrpswx5dkhr2yh4fg4h6sszkp3fawxm09sann21";
  };

  meta = {
    description = "Library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS)";
    homepage = "http://www.chokkan.org/software/liblbfgs/";
    license = stdenv.lib.licenses.mit;
    platforms = stdenv.lib.platforms.unix;
  };
}