1 { lib, stdenv, fetchFromGitHub, cmake
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 sha256 = "14ln4la52x38pf8syr7i5v4vd65ya4zij8zj5kgihah03cih0qcd";
15 nativeBuildInputs = [ cmake ];
18 # Fake these since we are building from a tarball
19 "-Ddraco_git_hash=${version}"
20 "-Ddraco_git_desc=${version}"
22 "-DBUILD_UNITY_PLUGIN=1"
26 description = "Library for compressing and decompressing 3D geometric meshes and point clouds";
27 homepage = "https://google.github.io/draco/";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ jansol ];
30 platforms = platforms.all;