2019-03-30 15:47:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "janet";
|
2019-06-01 06:57:20 +01:00
|
|
|
version = "0.6.0";
|
2019-03-30 15:47:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "janet-lang";
|
|
|
|
repo = "janet";
|
|
|
|
rev = "v${version}";
|
2019-06-01 06:57:20 +01:00
|
|
|
sha256 = "1w6d5a4akd868x89bgyvw3cnadfva7gnyvhmxx5ixxd580n5ba6v";
|
2019-03-30 15:47:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
JANET_BUILD=''\"release\"'';
|
|
|
|
PREFIX = placeholder "out";
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Janet programming language";
|
|
|
|
homepage = https://janet-lang.org/;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ andrewchambers ];
|
|
|
|
};
|
|
|
|
}
|