2022-06-26 10:26:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "oak";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "0.3";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thesephist";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "sha256-DK5n8xK57CQiukyBt9+CFK1j8+nphP//T2jTXq64VH8=";
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-iQtb3zNa57nB6x4InVPw7FCmW7XPw5yuz0OcfASXPD8=";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Expressive, simple, dynamic programming language";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "oak";
|
2022-06-26 10:26:21 +00:00
|
|
|
homepage = "https://oaklang.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ tejasag ];
|
|
|
|
};
|
|
|
|
}
|