2019-03-30 16:47:14 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "janet";
|
2019-04-19 22:35:35 +02:00
|
|
|
version = "0.4.1";
|
2019-03-30 16:47:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "janet-lang";
|
|
|
|
repo = "janet";
|
|
|
|
rev = "v${version}";
|
2019-04-19 22:35:35 +02:00
|
|
|
sha256 = "06iq2y7c9i4pcmmgc8x2fklqkj2i3jrvmq694djiiyd4x81kzcj5";
|
2019-03-30 16:47:14 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|