2c931312ce
+ use fetchFromGithub where possible
26 lines
622 B
Nix
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 ];
|
|
};
|
|
}
|