mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 00:27:49 +03:00
Add updateScript
This commit is contained in:
parent
0163de0826
commit
49fb7e006c
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user