janet: 0.6.0 -> 1.0.0, build with meson

This commit is contained in:
Vladyslav M 2019-07-05 17:47:44 +03:00 committed by Frederik Rietdijk
parent df738814d1
commit d2fe4ea4a8

View File

@ -1,26 +1,26 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, meson, ninja }:
stdenv.mkDerivation rec {
pname = "janet";
version = "0.6.0";
version = "1.0.0";
src = fetchFromGitHub {
owner = "janet-lang";
repo = "janet";
repo = pname;
rev = "v${version}";
sha256 = "1w6d5a4akd868x89bgyvw3cnadfva7gnyvhmxx5ixxd580n5ba6v";
sha256 = "1n91xsq9c3x99pb3a964873kksavs223hhy62l8yiylbl81b8vix";
};
JANET_BUILD=''\"release\"'';
PREFIX = placeholder "out";
nativeBuildInputs = [ meson ninja ];
mesonFlags = ["-Dgit_hash=release"];
doCheck = true;
meta = with stdenv.lib; {
description = "Janet programming language";
homepage = https://janet-lang.org/;
license = stdenv.lib.licenses.mit;
license = licenses.mit;
platforms = platforms.all;
maintainers = with stdenv.lib.maintainers; [ andrewchambers ];
maintainers = with maintainers; [ andrewchambers ];
};
}