Created
November 24, 2024 08:38
-
-
Save theoparis/a2e61a1aebc465b04ba320b438369017 to your computer and use it in GitHub Desktop.
ugh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-module (luau-package)) | |
(use-modules | |
(guix packages) | |
(guix download) | |
(guix build-system cmake) | |
(guix licenses) | |
(gnu packages cmake) | |
(gnu packages pkg-config) | |
(gnu packages ninja) | |
(gnu packages compression) | |
(gnu packages text-editors) | |
(gcrypt hash) | |
) | |
(define-public luau | |
(package | |
(name "luau") | |
(version "0.653") | |
(source | |
(origin | |
(method url-fetch) | |
(uri (string-append "https://github.com/luau-lang/luau/archive/" version ".tar.gz")) | |
(hash (sha256 (base32 "0py6wqz5f83zq81qfwvwlycn4a565928v0pzn0q4h1x0wa8adqsj"))) | |
) | |
) | |
(build-system cmake-build-system) | |
(arguments | |
`(#:tests? #t | |
#:configure-flags | |
'( | |
"-DBUILD_TESTING=ON" | |
"-DLUAU_BUILD_CLI=ON" | |
) | |
) | |
) | |
(native-inputs `( | |
("cmake" ,cmake) | |
("ninja" ,ninja) | |
("pkg-config" ,pkgconf) | |
)) | |
(home-page "https://luau-lang.org/") | |
(synopsis "A fast, small, safe, gradually typed scripting language derived from Lua") | |
(description "Luau is a scripting language derived from Lua, designed to be safe, fast, and small, with gradual typing and enhanced diagnostics.") | |
(license expat) | |
) | |
) | |
luau |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment