Skip to content

Commit

Permalink
nlopt: 2.6.0 -> 2.6.1
Browse files Browse the repository at this point in the history
Changelog: https://github.com/stevengj/nlopt/releases/tag/v2.6.1

Build is not broken anymore with Octave 4.x since
stevengj/nlopt#245
  • Loading branch information
c0bw3b authored Apr 23, 2019
1 parent 403d8d7 commit cbdd561
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pkgs/development/libraries/nlopt/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{ fetchurl, stdenv, octave ? null, cmake }:
{ stdenv, fetchFromGitHub, cmake, octave ? null }:

stdenv.mkDerivation rec {
name = "nlopt-${version}";
version = "2.6.0";
pname = "nlopt";
version = "2.6.1";

src = fetchurl {
url = "https://github.com/stevengj/nlopt/archive/v${version}.tar.gz";
sha256 = "1asiyilhmx8abshk0d2aia6ykgs4czhg22xcm9z15wgmyp6pfc51";
src = fetchFromGitHub {
owner = "stevengj";
repo = pname;
rev = "v${version}";
sha256 = "1k6x14lgyfhfqpbs7xx8mrgklp8l6jkkcs39zgi2sj3kg6n0hdc9";
};

nativeBuildInputs = [ cmake ];
Expand All @@ -30,7 +32,6 @@ stdenv.mkDerivation rec {
description = "Free open-source library for nonlinear optimization";
license = stdenv.lib.licenses.lgpl21Plus;
hydraPlatforms = stdenv.lib.platforms.linux;
broken = (octave != null); # cannot cope with Octave 4.x
};

}

0 comments on commit cbdd561

Please sign in to comment.