about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/package-management/gx/default.nix
blob: e53fdf48413f82f18932f6e014ef956d9a0f9ed0 (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
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "gx";
  version = "0.14.3";

  src = fetchFromGitHub {
    owner = "whyrusleeping";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-jGtUsb2gm8dN45wniD+PYoUlk8m1ssrfj1a7PPYEYuo=";
  };

  vendorHash = "sha256-6tdVpMztaBjoQRVG2vaUWuvnPq05zjbNAX9HBiC50t0=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "A packaging tool built around IPFS";
    homepage = "https://github.com/whyrusleeping/gx";
    license = licenses.mit;
    maintainers = with maintainers; [ zimbatm ];
  };
}