ocamlPackages.raylib: init at 1.4.0 (#368926)

authored by Ulrik Strid and committed by GitHub cba4de36 ca05713c

+101
+37
pkgs/development/ocaml-modules/patch/default.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildDunePackage, 5 + gitUpdater, 6 + alcotest, 7 + crowbar, 8 + }: 9 + 10 + buildDunePackage rec { 11 + pname = "patch"; 12 + version = "2.0.0"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "hannesm"; 16 + repo = "patch"; 17 + tag = "v${version}"; 18 + hash = "sha256-xqcUZaKlbyXF2//MbCom7/pGA2ej6KHYI3rizXwoqTY="; 19 + }; 20 + 21 + checkInputs = [ 22 + alcotest 23 + crowbar 24 + ]; 25 + 26 + passthru.updateScript = gitUpdater { }; 27 + 28 + meta = { 29 + description = "Patch library purely in OCaml"; 30 + longDescription = '' 31 + This is a library which parses unified diff and git diff output, and can apply a patch in memory. 32 + ''; 33 + homepage = "https://github.com/hannesm/patch"; 34 + maintainers = with lib.maintainers; [ r17x ]; 35 + license = lib.licenses.isc; 36 + }; 37 + }
+40
pkgs/development/ocaml-modules/raylib/default.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildDunePackage, 5 + dune-configurator, 6 + ctypes, 7 + integers, 8 + patch, 9 + gitUpdater, 10 + }: 11 + 12 + buildDunePackage rec { 13 + pname = "raylib"; 14 + version = "1.4.0"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "tjammer"; 18 + repo = "raylib-ocaml"; 19 + tag = version; 20 + hash = "sha256-Fh79YnmboQF5Kn3VF//JKLaIFKl8QJWVOqRexTzxF0U="; 21 + # enable submodules for vendored raylib sources 22 + fetchSubmodules = true; 23 + }; 24 + 25 + propagatedBuildInputs = [ 26 + dune-configurator 27 + ctypes 28 + integers 29 + patch 30 + ]; 31 + 32 + passthru.updateScript = gitUpdater { }; 33 + 34 + meta = { 35 + description = "OCaml bindings for Raylib (5.0.0)"; 36 + homepage = "https://tjammer.github.io/raylib-ocaml"; 37 + maintainers = with lib.maintainers; [ r17x ]; 38 + license = lib.licenses.mit; 39 + }; 40 + }
+18
pkgs/development/ocaml-modules/raylib/raygui.nix
··· 1 + { 2 + buildDunePackage, 3 + raylib, 4 + }: 5 + 6 + buildDunePackage { 7 + pname = "raygui"; 8 + 9 + inherit (raylib) src version; 10 + 11 + propagatedBuildInputs = [ 12 + raylib 13 + ]; 14 + 15 + meta = raylib.meta // { 16 + description = "OCaml bindings for raygui"; 17 + }; 18 + }
+6
pkgs/top-level/ocaml-packages.nix
··· 1489 1489 1490 1490 parse-argv = callPackage ../development/ocaml-modules/parse-argv { }; 1491 1491 1492 + patch = callPackage ../development/ocaml-modules/patch { }; 1493 + 1492 1494 path_glob = callPackage ../development/ocaml-modules/path_glob { }; 1493 1495 1494 1496 pbkdf = callPackage ../development/ocaml-modules/pbkdf { }; ··· 1651 1653 ### R ### 1652 1654 1653 1655 randomconv = callPackage ../development/ocaml-modules/randomconv { }; 1656 + 1657 + raylib = callPackage ../development/ocaml-modules/raylib { }; 1658 + 1659 + raygui = callPackage ../development/ocaml-modules/raylib/raygui.nix { }; 1654 1660 1655 1661 rdbg = callPackage ../development/ocaml-modules/rdbg { }; 1656 1662