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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
587 B
Nix
Raw Normal View History

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 {
pname = "gx";
2022-06-05 18:05:52 +03:00
version = "0.14.3";
2016-06-13 01:14:42 +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
};
vendorHash = "sha256-6tdVpMztaBjoQRVG2vaUWuvnPq05zjbNAX9HBiC50t0=";
2022-06-05 18:05:52 +03:00
ldflags = [ "-s" "-w" ];
2016-06-19 15:44:37 +03:00
meta = with lib; {
2016-06-19 15:44:37 +03:00
description = "A packaging tool built around IPFS";
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
}