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