nixpkgs/pkgs/tools/package-management/gx/default.nix
Pavol Rusnak 2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00

26 lines
622 B
Nix

# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gx";
version = "0.14.1";
goPackagePath = "github.com/whyrusleeping/gx";
src = fetchFromGitHub {
owner = "whyrusleeping";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "0pfx2p59xdbmqzfbgaf8xvlnzh8m05hkg596glq5kvl8ib65i4ha";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "A packaging tool built around IPFS";
homepage = "https://github.com/whyrusleeping/gx";
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
};
}