push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
{
lib,
fetchurl,
fetchpatch,
buildDunePackage,
dune-configurator,
ctypes,
integers,
patch,
libGL,
libX11,
libXcursor,
libXi,
libXinerama,
libXrandr,
}:
buildDunePackage rec {
pname = "raylib";
version = "1.4.0";
src = fetchurl {
url = "https://github.com/tjammer/raylib-ocaml/releases/download/${version}/raylib-${version}.tbz";
hash = "sha256-/SeKgQOrhsAgMNk6ODAZlopL0mL0lVfCTx1ugmV1P/s=";
};
patches = [
(fetchpatch {
name = "fix-build-with-patch-3.0.0.patch";
url = "https://github.com/tjammer/raylib-ocaml/commit/40e6fef44e3c39d4526806c4b830da77c4fe4bb8.patch";
excludes = [
"dune-project"
"raygui.opam"
];
hash = "sha256-MEZkkBgjL2iT6Av/s0tJCrW7+oyp9QD6sUbXEusCAWI=";
})
];
buildInputs = [
dune-configurator
patch
];
propagatedBuildInputs = [
ctypes
integers
libGL
libX11
libXcursor
libXi
libXinerama
libXrandr
];
meta = {
description = "OCaml bindings for Raylib (5.0.0)";
homepage = "https://tjammer.github.io/raylib-ocaml";
maintainers = with lib.maintainers; [ r17x ];
license = lib.licenses.mit;
};
}

View File

@@ -0,0 +1,25 @@
{
buildDunePackage,
fetchurl,
raylib,
}:
buildDunePackage rec {
pname = "raygui";
version = "1.4.0";
src = fetchurl {
url = "https://github.com/tjammer/raylib-ocaml/releases/download/${version}/raygui-${version}.tbz";
hash = "sha256-PQcVTAQKeTPkOOHk5w3O3Tz0n7jLvkIo3Urvrk66eMs=";
};
inherit (raylib) patches;
propagatedBuildInputs = [
raylib
];
meta = raylib.meta // {
description = "OCaml bindings for raygui";
};
}