mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
13 lines
340 B
Nix
13 lines
340 B
Nix
|
{ 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";
|
||
|
}
|