nlopt: 2.6.0 -> 2.6.1
Changelog: https://github.com/stevengj/nlopt/releases/tag/v2.6.1 Build is not broken anymore with Octave 4.x since https://github.com/stevengj/nlopt/pull/245
This commit is contained in:
parent
fea6499091
commit
5c5b887f1e
@ -1,12 +1,14 @@
|
|||||||
{ fetchurl, stdenv, octave ? null, cmake }:
|
{ stdenv, fetchFromGitHub, cmake, octave ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nlopt-${version}";
|
pname = "nlopt";
|
||||||
version = "2.6.0";
|
version = "2.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/stevengj/nlopt/archive/v${version}.tar.gz";
|
owner = "stevengj";
|
||||||
sha256 = "1asiyilhmx8abshk0d2aia6ykgs4czhg22xcm9z15wgmyp6pfc51";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1k6x14lgyfhfqpbs7xx8mrgklp8l6jkkcs39zgi2sj3kg6n0hdc9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
@ -30,7 +32,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Free open-source library for nonlinear optimization";
|
description = "Free open-source library for nonlinear optimization";
|
||||||
license = stdenv.lib.licenses.lgpl21Plus;
|
license = stdenv.lib.licenses.lgpl21Plus;
|
||||||
hydraPlatforms = stdenv.lib.platforms.linux;
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
||||||
broken = (octave != null); # cannot cope with Octave 4.x
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user