Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
829 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, fetchurl, 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="; };
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; };}