2020-04-23 10:23:39 +02:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-01-04 19:27:02 +01:00
|
|
|
|
2020-04-23 10:23:39 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gopkgs";
|
2020-04-23 10:23:39 +02:00
|
|
|
version = "2.1.2";
|
2018-01-04 19:27:02 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/uudashr/gopkgs";
|
2020-04-23 10:23:39 +02:00
|
|
|
|
|
|
|
subPackages = [ "cmd/gopkgs" ];
|
2018-01-04 19:27:02 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-09-28 20:04:53 +02:00
|
|
|
rev = "v${version}";
|
2018-01-04 19:27:02 +01:00
|
|
|
owner = "uudashr";
|
|
|
|
repo = "gopkgs";
|
2020-04-23 10:23:39 +02:00
|
|
|
sha256 = "1jak1bg6k5iasscw68ra875k59k3iqhka2ykabsd427k1j3mypln";
|
2018-01-04 19:27:02 +01:00
|
|
|
};
|
|
|
|
|
2020-04-23 10:23:39 +02:00
|
|
|
modSha256 = "0v9lg5kq3776b2s4kgyi19jy8shjqrr0f5ljrchsj1k7867sxiw7";
|
|
|
|
|
2018-01-04 19:27:02 +01:00
|
|
|
meta = {
|
|
|
|
description = "Tool to get list available Go packages.";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/uudashr/gopkgs";
|
2018-01-04 19:27:02 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|