Skip to content

Commit

Permalink
chore: update flake with new dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Dec 1, 2024
1 parent fb547c3 commit 4437fdc
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ let
glad = fetchFromGitHub {
owner = "GameDevTecnico";
repo = "cubos-glad";
rev = "496c56587442591557a89551d90906b1c53f639f";
sha256 = "sha256-566u+oiPUJQ+LQ4gE+lE58uw60ftheWUSiklgRge4Jc=";
rev = "bdf4d66072830f9822512f8f7dc3ca3fd72d9f69";
sha256 = "sha256-jG9ZhbdbUBIjyEFOOoyiywK7gMvzr8tb2BxHO87JUyg=";
};

stb_image = fetchFromGitHub {
Expand All @@ -41,6 +41,27 @@ let
sha256 = "sha256-D4fWoezHR+rp3Ecnlj6BhaVu5IhB7Yr2cJH2dgFHZnY=";
};

freetype = fetchFromGitHub {
owner = "freetype";
repo = "freetype";
rev = "VER-2-13-3";
sha256 = "sha256-4l90lDtpgm5xlh2m7ifrqNy373DTRTULRkAzicrM93c=";
};

msdfgen = fetchFromGitHub {
owner = "GameDevTecnico";
repo = "cubos-msdfgen";
rev = "7293c65d49219c0dea71c5c59760c7df7f452e71";
sha256 = "sha256-y/luplRQex6fI3qi1uoP6ViLVCi+gKNbRHltggkKhVQ=";
};

msdf-atlas-gen = fetchFromGitHub {
owner = "Chlumsky";
repo = "msdf-atlas-gen";
rev = "v1.3";
sha256 = "sha256-SfzQ008aoYI8tkrHXsXVQq9Qq+NIqT1zvSIHK1LTbLU=";
};

imgui = fetchFromGitHub {
owner = "ocornut";
repo = "imgui";
Expand Down Expand Up @@ -70,6 +91,9 @@ stdenv.mkDerivation {
(cmakeBool "FETCHCONTENT_FULLY_DISCONNECTED" true)
(cmakeOptionType "path" "FETCHCONTENT_SOURCE_DIR_GLAD" "${glad}")
(cmakeOptionType "path" "FETCHCONTENT_SOURCE_DIR_STB_IMAGE" "${stb_image}")
(cmakeOptionType "path" "FETCHCONTENT_SOURCE_DIR_FREETYPE" "${freetype}")
(cmakeOptionType "path" "FETCHCONTENT_SOURCE_DIR_MSDFGEN" "${msdfgen}")
(cmakeOptionType "path" "FETCHCONTENT_SOURCE_DIR_MSDF-ATLAS-GEN" "${msdf-atlas-gen}")
(cmakeOptionType "path" "FETCHCONTENT_SOURCE_DIR_IMGUI" "${imgui}")
(cmakeOptionType "path" "FETCHCONTENT_SOURCE_DIR_IMPLOT" "${implot}")
(cmakeOptionType "path" "FETCHCONTENT_SOURCE_DIR_LIBDWARF" "${libdwarf-lite}")
Expand Down

0 comments on commit 4437fdc

Please sign in to comment.