Merge pull request #86933 from petabyteboy/feature/update-vgo2nix
This commit is contained in:
commit
dd0d5912e7
@ -9,16 +9,16 @@
|
|||||||
|
|
||||||
buildGoPackage {
|
buildGoPackage {
|
||||||
pname = "vgo2nix";
|
pname = "vgo2nix";
|
||||||
version = "unstable-2019-02-06";
|
version = "unstable-2020-05-05";
|
||||||
goPackagePath = "github.com/adisbladis/vgo2nix";
|
goPackagePath = "github.com/adisbladis/vgo2nix";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "adisbladis";
|
owner = "nix-community";
|
||||||
repo = "vgo2nix";
|
repo = "vgo2nix";
|
||||||
rev = "f2694cd352830f0561bc00bbcaa08cefb2e36439";
|
rev = "71e59bf268d5257a0f89b2f59cd20fd468c8c6ac";
|
||||||
sha256 = "10cwi67cyhqjq1pwhry2n1v8z7wybl4cawzmjmfgs5mbsvqp0h78";
|
sha256 = "1pcdkknq2v7nrs0siqcvvq2x0qqz5snwdz2lpjnad8i33rwhmayh";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
@ -33,7 +33,7 @@ buildGoPackage {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Convert go.mod files to nixpkgs buildGoPackage compatible deps.nix files";
|
description = "Convert go.mod files to nixpkgs buildGoPackage compatible deps.nix files";
|
||||||
homepage = "https://github.com/adisbladis/vgo2nix";
|
homepage = "https://github.com/nix-community/vgo2nix";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ adisbladis ];
|
maintainers = with maintainers; [ adisbladis ];
|
||||||
};
|
};
|
||||||
|
71
pkgs/development/tools/vgo2nix/deps.nix
generated
71
pkgs/development/tools/vgo2nix/deps.nix
generated
@ -126,13 +126,67 @@
|
|||||||
sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
|
sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/yuin/goldmark";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/yuin/goldmark";
|
||||||
|
rev = "v1.1.27";
|
||||||
|
sha256 = "1872cqnii0kwiqcy81yin0idvjy5mdy4zlzz0csb319lcjs3b923";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/crypto";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/crypto";
|
||||||
|
rev = "87dc89f01550";
|
||||||
|
sha256 = "0z4i1m2yn3f31ci7wvcm2rxkx2yiv7a78mfzklncmsz2k97rlh2g";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/mod";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/mod";
|
||||||
|
rev = "v0.2.0";
|
||||||
|
sha256 = "1fp6885dclq77mh73v7i54v2b9llpv4di193zc8vmsbbkkc483cl";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/net";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/net";
|
||||||
|
rev = "0de0cce0169b";
|
||||||
|
sha256 = "1db7s5kbzyh2zd5lpv05n7hp8wbwdvgk0wpiwrlnig94mkr0y5aq";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/sync";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/sync";
|
||||||
|
rev = "cd5d95a43a6e";
|
||||||
|
sha256 = "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds";
|
||||||
|
};
|
||||||
|
}
|
||||||
{
|
{
|
||||||
goPackagePath = "golang.org/x/sys";
|
goPackagePath = "golang.org/x/sys";
|
||||||
fetch = {
|
fetch = {
|
||||||
type = "git";
|
type = "git";
|
||||||
url = "https://go.googlesource.com/sys";
|
url = "https://go.googlesource.com/sys";
|
||||||
rev = "d99a578cf41b";
|
rev = "97732733099d";
|
||||||
sha256 = "10q9xx4pmnq92qn6ff4xp7n1hx766wvw2rf7pqcd6rx5plgwz8cm";
|
sha256 = "118hkp01i4z1f5h6hcjm0ff2ngqhrzj1f7731n0kw8dr6hvbx0sw";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/text";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/text";
|
||||||
|
rev = "v0.3.0";
|
||||||
|
sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@ -140,8 +194,17 @@
|
|||||||
fetch = {
|
fetch = {
|
||||||
type = "git";
|
type = "git";
|
||||||
url = "https://go.googlesource.com/tools";
|
url = "https://go.googlesource.com/tools";
|
||||||
rev = "ded554d0681e";
|
rev = "0c9eba77bc32";
|
||||||
sha256 = "04rlq9hc3ccww9sbsrl48fl6wbjprb136rqxyr7dmgfj444aml56";
|
sha256 = "1xz0jyxdmibkams6vd61va5cw963l25jjf3i9r33m0i739qwg4lj";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/xerrors";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/xerrors";
|
||||||
|
rev = "9bdfabe68543";
|
||||||
|
sha256 = "1yjfi1bk9xb81lqn85nnm13zz725wazvrx3b50hx19qmwg7a4b0c";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user