h-raylib: Raylib bindings for Haskell
This library contains Haskell bindings to the Raylib library. It supports Windows, Mac, Linux, and BSD.
[Skip to Readme]
Modules
- Raylib
- Raylib.Core
- Raylib.Core.Audio
- Raylib.Core.Camera
- Raylib.Core.Models
- Raylib.Core.Shapes
- Raylib.Core.Text
- Raylib.Core.Textures
- Raylib.Internal
- Raylib.Internal.Foreign
- Raylib.Types
- Raylib.Types.Core
- Raylib.Types.Core.Audio
- Raylib.Types.Core.Camera
- Raylib.Types.Core.Models
- Raylib.Types.Core.Text
- Raylib.Types.Core.Textures
- Util
- Raylib.Types.Util.GUI
- Raylib.Types.Util.RLGL
- Raylib.Types.Core
- Raylib.Util
- Raylib.Util.Camera
- Raylib.Util.Colors
- Raylib.Util.GUI
- Raylib.Util.GUI.Styles
- Raylib.Util.Lenses
- Raylib.Util.Math
- Raylib.Util.RLGL
- Raylib.Core
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| detect-platform | Detect platform and automatically add platform-specific configuration | Enabled |
| platform-windows | Build for Windows | Disabled |
| platform-mac | Build for macOS/OSX | Disabled |
| platform-linux | Build for Linux | Disabled |
| platform-bsd | Build for FreeBSD, OpenBSD, or NetBSD | Disabled |
| platform-nixos | Build for Nix (use external GLFW) | Disabled |
| platform-web | Build for web | Disabled |
| mingw-cross | Cross-compiling for mingw (used in combination with Windows) | Disabled |
| examples | Build the example projects | Disabled |
| ghci | Used when running the program in GHCi | Disabled |
| disable-lens | Exclude the lens dependency and Raylib.Util.Lenses | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- h-raylib-5.5.3.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 4.5.0.1, 4.5.0.2, 4.5.0.3, 4.5.0.4, 4.5.0.5, 4.5.0.6, 4.5.0.7, 4.5.0.8, 4.5.0.9, 4.5.0.10, 4.5.0.11, 4.5.0.12, 4.5.1.0, 4.5.1.1, 4.5.2.0, 4.5.3.0, 4.5.3.1, 4.5.3.2, 4.5.3.3, 4.5.3.4, 4.6.0.1, 4.6.0.2, 4.6.0.3, 4.6.0.4, 4.6.0.5, 4.6.0.6, 4.6.0.7, 5.1.0.1, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.5.0.0, 5.5.1.0, 5.5.2.0, 5.5.2.1, 5.5.3.0, 5.5.3.1 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.0 && <4.23), bytestring (>=0.11.0 && <0.13), containers (>=0.6.0 && <0.9), lens (>=4.0 && <5.4), linear (>=1.22 && <1.24), template-haskell (>=2.16.0.0 && <2.24), text (>=2.0 && <2.2) [details] |
| Tested with | ghc >=9.6.5 |
| License | Apache-2.0 |
| Author | Anut |
| Maintainer | Anut |
| Revised | Revision 1 made by Anut at 2025-10-24T02:09:22Z |
| Category | graphics |
| Bug tracker | https://github.com/Anut-py/h-raylib/issues |
| Source repo | head: git clone https://github.com/Anut-py/h-raylib.git |
| Uploaded | by Anut at 2025-10-14T22:43:25Z |
| Distributions | NixOS:5.5.2.1 |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | raygui-suite, basic-rlgl, basic-audio, postprocessing-effects, basic-shaders, basic-models, custom-font-text, bunnymark, basic-images, camera-ray-collision, first-person-camera, basic-automation-events, basic-callbacks, basic-window |
| Downloads | 3024 total (154 in the last 30 days) |
| Rating | 2.5 (votes: 3) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs not available [build log] All reported builds failed as of 2025-10-14 [all 2 reports] |