Commit 1d15d511 authored by Benjamin Sparks's avatar Benjamin Sparks
Browse files

nlopt: add passthru.updateScript

parent 9d2808a3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  fetchFromGitHub,
  cmake,
  nix-update-script,
  # Optionally build Python bindings
  withPython ? false,
  python3,
@@ -65,6 +66,8 @@ stdenv.mkDerivation (finalAttrs: {
      'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/' 'INTERFACE_INCLUDE_DIRECTORIES "'
  '';

  passthru.updateScript = nix-update-script { };

  meta = {
    homepage = "https://nlopt.readthedocs.io/en/latest/";
    changelog = "https://github.com/stevengj/nlopt/releases/tag/v${finalAttrs.version}";