mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
janet: 0.6.0 -> 1.0.0, build with meson
This commit is contained in:
parent
df738814d1
commit
d2fe4ea4a8
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user