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

35 lines
725 B
Nix
Raw Normal View History

2016-06-15 23:41:29 +02:00
# This file was generated by go2nix.
{ lib, buildGoPackage, fetchFromGitHub
2016-06-15 23:41:29 +02:00
, gx
}:
buildGoPackage rec {
pname = "gx-go";
2018-11-20 13:19:50 +01:00
version = "1.9.0";
2016-06-15 23:41:29 +02:00
goPackagePath = "github.com/whyrusleeping/gx-go";
src = fetchFromGitHub {
owner = "whyrusleeping";
repo = pname;
rev = "refs/tags/v${version}";
2018-11-20 13:19:50 +01:00
sha256 = "0fdy4b3ymqw6hzvvjwq37mfrdmizc8lxm53axw93n3x6118na9jc";
2016-06-15 23:41:29 +02:00
};
2018-11-20 13:19:50 +01:00
goDeps = ./deps.nix;
2016-06-15 23:41:29 +02:00
extraSrcs = [
{
goPackagePath = gx.goPackagePath;
src = gx.src;
}
];
2016-06-19 14:44:37 +02:00
meta = with lib; {
2016-06-19 14:44:37 +02:00
description = "A tool for importing go packages into gx";
homepage = "https://github.com/whyrusleeping/gx-go";
2016-06-19 14:44:37 +02:00
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
2016-06-19 14:44:37 +02:00
};
2016-06-15 23:41:29 +02:00
}