nlopt: move version into the derivation itself
This commit is contained in:
parent
0a870bfbd2
commit
6aebaa0427
@ -1,13 +1,8 @@
|
||||
{ fetchurl, stdenv, octave ? null, cmake }:
|
||||
|
||||
let
|
||||
|
||||
version = "2.5.0";
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nlopt-${version}";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/stevengj/nlopt/archive/v${version}.tar.gz";
|
||||
|
Loading…
Reference in New Issue
Block a user