2022-06-05 15:05:52 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-06-12 22:14:42 +00:00
|
|
|
|
2022-06-05 15:05:52 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gx";
|
2022-06-05 15:05:52 +00:00
|
|
|
version = "0.14.3";
|
2016-06-12 22:14:42 +00:00
|
|
|
|
2020-11-01 22:39:49 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "whyrusleeping";
|
|
|
|
repo = pname;
|
2022-06-05 15:05:52 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-jGtUsb2gm8dN45wniD+PYoUlk8m1ssrfj1a7PPYEYuo=";
|
2016-06-12 22:14:42 +00:00
|
|
|
};
|
|
|
|
|
2022-06-05 15:05:52 +00:00
|
|
|
vendorSha256 = "sha256-6tdVpMztaBjoQRVG2vaUWuvnPq05zjbNAX9HBiC50t0=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2016-06-19 12:44:37 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-19 12:44:37 +00:00
|
|
|
description = "A packaging tool built around IPFS";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/whyrusleeping/gx";
|
2016-06-19 12:44:37 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
|
|
};
|
2016-06-12 22:14:42 +00:00
|
|
|
}
|