1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "gomacro";
5 version = "2.7-unstable-2024-01-07";
6
7 src = fetchFromGitHub {
8 owner = "cosmos72";
9 repo = "gomacro";
10 rev = "bf232d031933810d4a5382e17ce6c4b042a24304";
11 hash = "sha256-16u3eByFmnY12M2CEhSJKLIT0KP9nbvTv+BnqWwNTcg=";
12 };
13
14 vendorHash = "sha256-ok71QlBHGasGVt+CGwGqhgmx5JLkQcdlU/KX+W1A5Ws=";
15
16 subPackages = [ "." ];
17
18 meta = with lib; {
19 description = "Interactive Go interpreter and debugger with generics and macros";
20 mainProgram = "gomacro";
21 homepage = "https://github.com/cosmos72/gomacro";
22 license = licenses.mpl20;
23 maintainers = with maintainers; [ shofius ];
24 };
25}