Commit b2f85998 authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Add janet package (#3862)

Janet is a functional and imperative programming language and bytecode
interpreter. It is a modern lisp, but replaces lists with other data
structures that provide better utility and performance (arrays, tables,
structs, tuples).

Tested on ARM.
parent 39cbd8c5
require 'package'
class Janet < Package
description 'Janet is a functional and imperative programming language and bytecode interpreter.'
homepage 'https://janet-lang.org'
version '1.7.0'
source_url 'https://github.com/janet-lang/janet/archive/v1.7.0.tar.gz'
source_sha256 '2a119f3a79b209a858864e73ca3efda57ac044df3c89762a31480bbea386d2a3'
binary_url ({
})
binary_sha256 ({
})
depends_on 'meson' => :build
def self.build
system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} builddir"
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment