a2045d32af
janet: 1.13.1 -> 1.14.1
27 lines
619 B
Nix
27 lines
619 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "janet";
|
|
version = "1.14.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janet-lang";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-cI0kcY8aYDkmitoju/C6Ule5gzflIe0nLVxZp4iHXnc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
mesonFlags = [ "-Dgit_hash=release" ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Janet programming language";
|
|
homepage = "https://janet-lang.org/";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ andrewchambers ];
|
|
};
|
|
}
|