gopkgs: init at 2017-12-29
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
6d442efe99
commit
8cf5684814
24
pkgs/development/tools/gopkgs/default.nix
Normal file
24
pkgs/development/tools/gopkgs/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "gopkgs-${version}";
|
||||||
|
version = "unstable-2017-12-29";
|
||||||
|
rev = "b2ea2ecd37740e6ce0e020317d90c729aab4dc6d";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/uudashr/gopkgs";
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
inherit rev;
|
||||||
|
owner = "uudashr";
|
||||||
|
repo = "gopkgs";
|
||||||
|
sha256 = "1hwzxrf2h8xjbbx6l86mjpjh4csxxsy17zkh8h3qzncyfnsnczzg";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Tool to get list available Go packages.";
|
||||||
|
homepage = https://github.com/uudashr/gopkgs;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ vdemeester ];
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
11
pkgs/development/tools/gopkgs/deps.nix
Normal file
11
pkgs/development/tools/gopkgs/deps.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/MichaelTJones/walk";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/MichaelTJones/walk";
|
||||||
|
rev = "4748e29d5718c2df4028a6543edf86fd8cc0f881";
|
||||||
|
sha256 = "03bc3cql3w8cx05xlnzxsff59c6679rcpx4njzk86k00blkkizv7";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
@ -13389,6 +13389,8 @@ with pkgs;
|
|||||||
|
|
||||||
goimports = callPackage ../development/tools/goimports { };
|
goimports = callPackage ../development/tools/goimports { };
|
||||||
|
|
||||||
|
gopkgs = callPackage ../development/tools/gopkgs { };
|
||||||
|
|
||||||
govers = callPackage ../development/tools/govers { };
|
govers = callPackage ../development/tools/govers { };
|
||||||
|
|
||||||
gotools = callPackage ../development/tools/gotools { };
|
gotools = callPackage ../development/tools/gotools { };
|
||||||
|
Loading…
Reference in New Issue
Block a user