nixpkgs/pkgs/tools/package-management/gx/default.nix

25 lines
589 B
Nix
Raw Normal View History

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 {
pname = "gx";
2022-06-05 15:05:52 +00:00
version = "0.14.3";
2016-06-12 22:14:42 +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
meta = with lib; {
2016-06-19 12:44:37 +00:00
description = "A packaging tool built around IPFS";
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
}