2016-06-15 23:41:29 +02:00
|
|
|
# This file was generated by go2nix.
|
2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub
|
2016-06-15 23:41:29 +02:00
|
|
|
, gx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
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";
|
|
|
|
|
2020-11-01 23:39:49 +01:00
|
|
|
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
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-06-19 14:44:37 +02:00
|
|
|
description = "A tool for importing go packages into gx";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/whyrusleeping/gx-go";
|
2016-06-19 14:44:37 +02:00
|
|
|
license = licenses.mit;
|
2017-04-29 06:24:34 +02:00
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
2016-06-19 14:44:37 +02:00
|
|
|
};
|
2016-06-15 23:41:29 +02:00
|
|
|
}
|