Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "oak";
8 version = "0.3";
9
10 src = fetchFromGitHub {
11 owner = "thesephist";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "sha256-DK5n8xK57CQiukyBt9+CFK1j8+nphP//T2jTXq64VH8=";
15 };
16
17 vendorSha256 = "sha256-iQtb3zNa57nB6x4InVPw7FCmW7XPw5yuz0OcfASXPD8=";
18
19 meta = with lib; {
20 description = "Expressive, simple, dynamic programming language";
21 homepage = "https://oaklang.org/";
22 license = licenses.mit;
23 maintainers = with maintainers; [ tejasag ];
24 };
25}