2020-04-23 09:23:39 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-01-04 18:27:02 +00:00
|
|
|
|
2020-04-23 09:23:39 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gopkgs";
|
2020-04-23 09:23:39 +01:00
|
|
|
version = "2.1.2";
|
2018-01-04 18:27:02 +00:00
|
|
|
|
2020-04-23 09:23:39 +01:00
|
|
|
subPackages = [ "cmd/gopkgs" ];
|
2018-01-04 18:27:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-09-28 19:04:53 +01:00
|
|
|
rev = "v${version}";
|
2018-01-04 18:27:02 +00:00
|
|
|
owner = "uudashr";
|
|
|
|
repo = "gopkgs";
|
2020-04-23 09:23:39 +01:00
|
|
|
sha256 = "1jak1bg6k5iasscw68ra875k59k3iqhka2ykabsd427k1j3mypln";
|
2018-01-04 18:27:02 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "1pwsc488ldw039by8nqpni801zry7dnf0rx4hhd73xpv2w7s8n2r";
|
2020-04-23 09:23:39 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2018-01-04 18:27:02 +00:00
|
|
|
meta = {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "Tool to get list available Go packages";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/uudashr/gopkgs";
|
2018-01-04 18:27:02 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|