diff --git a/pkgs/development/libraries/nlopt/default.nix b/pkgs/development/libraries/nlopt/default.nix new file mode 100644 index 000000000000..0936332cd489 --- /dev/null +++ b/pkgs/development/libraries/nlopt/default.nix @@ -0,0 +1,12 @@ +{ fetchurl, stdenv }: + +stdenv.mkDerivation rec { + name = "nlopt-2.2.1"; + + src = fetchurl { + url = "http://ab-initio.mit.edu/nlopt/${name}.tar.gz"; + sha256 = "0p7ri7dcp6vga7jwng7wj9bf2ixk6p5ldxp76r93xkrdixqfngaq"; + }; + + configureFlags = "--with-cxx --with-pic --without-guile --without-python --without-octave --without-matlab"; +}