9c2088181a
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/janet/versions
27 lines
617 B
Nix
27 lines
617 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "janet";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janet-lang";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1m34j4h8gh5d773hbw55gs1gimli7ccqpwddn4dd59hzhpihwgqz";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
mesonFlags = ["-Dgit_hash=release"];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Janet programming language";
|
|
homepage = https://janet-lang.org/;
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ andrewchambers ];
|
|
};
|
|
}
|