Commit 49fb7e00 authored by Bouke van der Bijl's avatar Bouke van der Bijl
Browse files

Add updateScript

parent 0163de08
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
{ 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";