about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/gomacro/default.nix
blob: c172945b9067f9e3c156ef4c55bdb6a8fc38ff28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "gomacro";
  rev = "b4c3ab9b218fd12f22759354f4f3e37635828d1f";
  version = "20210131-${lib.strings.substring 0 7 rev}";

  src = fetchFromGitHub {
    owner = "cosmos72";
    repo = "gomacro";
    inherit rev;
    hash = "sha256-zxiEt/RR7g5Q0wMLuRaybnT5dFfPCyvt0PvDjL9BJDI=";
  };

  vendorHash = "sha256-fQYuav0pT+/fGq0fmOWlsiVxA9tGV4JV8X7G3E6BZMU=";

  subPackages = [ "." ];

  meta = with lib; {
    description = "Interactive Go interpreter and debugger with generics and macros";
    homepage = "https://github.com/cosmos72/gomacro";
    license = licenses.mpl20;
    maintainers = with maintainers; [ shofius ];
  };
}