nlopt: add passthru.updateScript

This commit is contained in:
Benjamin Sparks
2025-04-13 00:27:12 +02:00
parent 9d2808a318
commit 1d15d511ae
@@ -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}";