at 23.11-beta 25 lines 698 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "gomacro"; 5 rev = "b4c3ab9b218fd12f22759354f4f3e37635828d1f"; 6 version = "20210131-${lib.strings.substring 0 7 rev}"; 7 8 src = fetchFromGitHub { 9 owner = "cosmos72"; 10 repo = "gomacro"; 11 inherit rev; 12 hash = "sha256-zxiEt/RR7g5Q0wMLuRaybnT5dFfPCyvt0PvDjL9BJDI="; 13 }; 14 15 vendorHash = "sha256-fQYuav0pT+/fGq0fmOWlsiVxA9tGV4JV8X7G3E6BZMU="; 16 17 subPackages = [ "." ]; 18 19 meta = with lib; { 20 description = "Interactive Go interpreter and debugger with generics and macros"; 21 homepage = "https://github.com/cosmos72/gomacro"; 22 license = licenses.mpl20; 23 maintainers = with maintainers; [ shofius ]; 24 }; 25}