tinygltf: inline in draco
This is a header-only library whose only user is draco. Inline it in the draco package since there are no other users and upgrading it to 2.8.8 breaks the draco build.
This commit is contained in:
parent
e38e4cd6b9
commit
4137dbc273
|
@ -15,14 +15,14 @@
|
||||||
let
|
let
|
||||||
cmakeBool = b: if b then "ON" else "OFF";
|
cmakeBool = b: if b then "ON" else "OFF";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
version = "1.5.6";
|
version = "1.5.6";
|
||||||
pname = "draco";
|
pname = "draco";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "draco";
|
repo = "draco";
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-2YQMav0JJMbJ2bvnN/Xv90tjE/OWLbrZDO4WlaOvcfI=";
|
hash = "sha256-2YQMav0JJMbJ2bvnN/Xv90tjE/OWLbrZDO4WlaOvcfI=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
@ -59,4 +59,4 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ jansol ];
|
maintainers = with maintainers; [ jansol ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -1677,6 +1677,7 @@ mapAliases ({
|
||||||
timescale-prometheus = promscale; # Added 2020-09-29
|
timescale-prometheus = promscale; # Added 2020-09-29
|
||||||
timedoctor = throw "'timedoctor' has been removed from nixpkgs"; # Added 2022-10-09
|
timedoctor = throw "'timedoctor' has been removed from nixpkgs"; # Added 2022-10-09
|
||||||
timetable = throw "timetable has been removed, as the upstream project has been abandoned"; # Added 2021-09-05
|
timetable = throw "timetable has been removed, as the upstream project has been abandoned"; # Added 2021-09-05
|
||||||
|
tinygltf = throw "TinyglTF has been embedded in draco due to lack of other users and compatibility breaks."; # Added 2023-06-25
|
||||||
tixati = throw "'tixati' has been removed from nixpkgs as it is unfree and unmaintained"; # Added 2023-03-17
|
tixati = throw "'tixati' has been removed from nixpkgs as it is unfree and unmaintained"; # Added 2023-03-17
|
||||||
tkcvs = tkrev; # Added 2022-03-07
|
tkcvs = tkrev; # Added 2022-03-07
|
||||||
togglesg-download = throw "togglesg-download was removed 2021-04-30 as it's unmaintained"; # Added 2021-04-30
|
togglesg-download = throw "togglesg-download was removed 2021-04-30 as it's unmaintained"; # Added 2021-04-30
|
||||||
|
|
|
@ -13211,8 +13211,6 @@ with pkgs;
|
||||||
|
|
||||||
tinyfecvpn = callPackage ../tools/networking/tinyfecvpn { };
|
tinyfecvpn = callPackage ../tools/networking/tinyfecvpn { };
|
||||||
|
|
||||||
tinygltf = callPackage ../development/libraries/tinygltf { };
|
|
||||||
|
|
||||||
tinyobjloader = callPackage ../development/libraries/tinyobjloader { };
|
tinyobjloader = callPackage ../development/libraries/tinyobjloader { };
|
||||||
|
|
||||||
tinyprog = callPackage ../development/embedded/fpga/tinyprog { };
|
tinyprog = callPackage ../development/embedded/fpga/tinyprog { };
|
||||||
|
@ -20416,7 +20414,9 @@ with pkgs;
|
||||||
|
|
||||||
dotconf = callPackage ../development/libraries/dotconf { };
|
dotconf = callPackage ../development/libraries/dotconf { };
|
||||||
|
|
||||||
draco = callPackage ../development/libraries/draco { };
|
draco = callPackage ../development/libraries/draco {
|
||||||
|
tinygltf = callPackage ../development/libraries/draco/tinygltf.nix { };
|
||||||
|
};
|
||||||
|
|
||||||
# Multi-arch "drivers" which we want to build for i686.
|
# Multi-arch "drivers" which we want to build for i686.
|
||||||
driversi686Linux = recurseIntoAttrs {
|
driversi686Linux = recurseIntoAttrs {
|
||||||
|
|
Loading…
Reference in a new issue