Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, luaPackages }:
2
3stdenv.mkDerivation {
4 pname = "nelua";
5 version = "unstable-2023-01-21";
6
7 src = fetchFromGitHub {
8 owner = "edubart";
9 repo = "nelua-lang";
10 rev = "d10cc61bc54050b07874a8597f8df20534885105";
11 hash = "sha256-HyNYqhPCQVBJqEcAUUXfvycXE8tWIMIUJJMTIV48ne8=";
12 };
13
14 makeFlags = [ "PREFIX=$(out)" ];
15
16 nativeCheckInputs = [ luaPackages.luacheck ];
17
18 doCheck = true;
19
20 meta = with lib; {
21 description = "Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code";
22 homepage = "https://nelua.io/";
23 license = licenses.mit;
24 platforms = platforms.all;
25 maintainers = [ maintainers.marsam ];
26 };
27}