about summary refs log tree commit diff
path: root/pkgs/by-name/go/go-bare/package.nix
blob: 0fd076c580cea166b50db662bd760264cd00707a (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
{ buildGoModule, fetchFromSourcehut, lib }:

buildGoModule rec {
  pname = "go-bare";
  version = "0-unstable-2021-04-06";

  src = fetchFromSourcehut {
    owner = "~sircmpwn";
    repo = "go-bare";
    rev = "ab86bc2846d997bc8760fdb0d06d4a55e746b1db";
    hash = "sha256-SKTYDKidB1Ia3Jg4EBg5rPAtqlXAa19RY5qieS82A34=";
  };

  vendorHash = "sha256-OhJb/q1XJ/U/AvCcCXw2Ll86UKlkHGuURHS5J6aXNTs=";

  subPackages = [ "cmd/gen" ];

  meta = with lib; {
    description = "An implementation of the BARE message format for Go";
    mainProgram = "gen";
    homepage = "https://git.sr.ht/~sircmpwn/go-bare";
    license = licenses.asl20;
    maintainers = with maintainers; [ poptart ];
  };
}