Add updateScript

This commit is contained in:
Bouke van der Bijl 2024-02-13 10:56:32 +01:00
parent 0163de0826
commit 49fb7e006c

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake, nix-update-script }:
let
basis_universal = fetchFromGitHub {
@ -27,6 +27,8 @@ in stdenv.mkDerivation rec {
] ++ lib.optional (!stdenv.hostPlatform.isStatic)
"-DMESHOPT_BUILD_SHARED_LIBS:BOOL=ON";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Mesh optimization library that makes meshes smaller and faster to render";
homepage = "https://github.com/zeux/meshoptimizer";