mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
27 lines
617 B
Nix
27 lines
617 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "janet";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janet-lang";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1n91xsq9c3x99pb3a964873kksavs223hhy62l8yiylbl81b8vix";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|