dev-lua/croissant - 0.0.1 (guru)

Search

Install

Install this version:

emerge -a =dev-lua/croissant-0.0.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-lua/croissant-0.0.1

Or alternatively:

emerge --autounmask-write -a =dev-lua/croissant-0.0.1

Package Information

Description:
A Lua REPL and debugger
Homepage:
https://github.com/giann/croissant
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.0.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# sirocco dependency does not yet support newer Lua implementations
LUA_COMPAT=( lua5-1 luajit )

inherit lua

DESCRIPTION="A Lua REPL and debugger "
HOMEPAGE="https://github.com/giann/croissant"
EGIT_COMMIT="dc633a0ac3b5bcab9b72b660e926af80944125b3"
SRC_URI="https://github.com/giann/croissant/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${PN}-${EGIT_COMMIT}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

IUSE="examples"
REQUIRED_USE="${LUA_REQUIRED_USE}"

RDEPEND="
	dev-lua/lua-term[${LUA_USEDEP}]
	dev-lua/sirocco[${LUA_USEDEP}]
	dev-lua/hump[${LUA_USEDEP}]
	dev-lua/lpeg[${LUA_USEDEP}]
	dev-lua/lua-argparse[${LUA_USEDEP}]
	dev-lua/compat53[${LUA_USEDEP}]
	${LUA_DEPS}
"

DEPEND="${RDEPEND}"

lua_src_install() {
	insinto "$(lua_get_lmod_dir)/${PN}"
	doins croissant/*.lua
}

src_install() {
	lua_foreach_impl lua_src_install
	dobin bin/croissant
	dodoc README.md
	if use examples; then
		docinto examples
		dodoc debugtest.lua
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-lua/croissant | euse -E <flag> -p dev-lua/croissant | euse -D <flag> -p dev-lua/croissant

Global/Standard Flags

Inherited Eclasses

lua

Dependencies

DEPEND

	dev-lua/lua-term[]
	dev-lua/sirocco[]
	dev-lua/hump[]
	dev-lua/lpeg[]
	dev-lua/lua-argparse[]
	dev-lua/compat53[]
	

RDEPEND

	dev-lua/lua-term[]
	dev-lua/sirocco[]
	dev-lua/hump[]
	dev-lua/lpeg[]
	dev-lua/lua-argparse[]
	dev-lua/compat53[]
	

Manifest for 0.0.1

Type File Size Source URLs
DIST croissant-0.0.1.tar.gz 374425 bytes https://github.com/giann/croissant/archive/dc633a0ac3b5bcab9b72b660e926af80944125b3.tar.gz