diff options
author | Jan Solanti <jhs@psonet.com> | 2021-10-30 03:16:27 +0300 |
---|---|---|
committer | Jan Solanti <jhs@psonet.com> | 2021-10-30 03:17:58 +0300 |
commit | cdb3214f269edd841ab3fa1c748c94e663397f62 (patch) | |
tree | ab9048878930736c44e60927b0b9a637590dac18 | |
parent | c750019f9d2f3fc9c506e3c49536e431f96e2e41 (diff) |
draco: 1.4.1 -> 1.4.3
-rw-r--r-- | pkgs/development/libraries/draco/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/libraries/draco/default.nix b/pkgs/development/libraries/draco/default.nix index 41ffdd16f5a90..ed65be9a2561b 100644 --- a/pkgs/development/libraries/draco/default.nix +++ b/pkgs/development/libraries/draco/default.nix @@ -2,14 +2,14 @@ }: stdenv.mkDerivation rec { - version = "1.4.1"; + version = "1.4.3"; pname = "draco"; src = fetchFromGitHub { owner = "google"; repo = "draco"; rev = version; - sha256 = "14ln4la52x38pf8syr7i5v4vd65ya4zij8zj5kgihah03cih0qcd"; + sha256 = "sha256-eSu6tkWbRHzJkWwPgljaScAuL0gRkp8PJUHWC8mUvOw="; }; nativeBuildInputs = [ cmake ]; @@ -22,6 +22,12 @@ stdenv.mkDerivation rec { "-DBUILD_UNITY_PLUGIN=1" ]; + # Upstream mistakenly installs to /nix/store/.../nix/store/.../*, work around that + postInstall = '' + mv $out/nix/store/*/* $out + rm -rf $out/nix + ''; + meta = with lib; { description = "Library for compressing and decompressing 3D geometric meshes and point clouds"; homepage = "https://google.github.io/draco/"; |