buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
This commit is contained in:
committed by
zimbatm
parent
7a6b860e1c
commit
914e0e594c
@@ -14,7 +14,7 @@ buildGoPackage rec {
|
||||
sha256 = "1nb042k420xr6000ipwhqn41vg8jfp6ghq4z7y1sjnndkrhclzm1";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with lib; {
|
||||
description = "sift is a fast and powerful alternative to grep";
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
[
|
||||
{
|
||||
"goPackagePath": "golang.org/x/crypto",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://go.googlesource.com/crypto",
|
||||
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
|
||||
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/svent/go-flags",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/svent/go-flags",
|
||||
"rev": "4bcbad344f0318adaf7aabc16929701459009aa3",
|
||||
"sha256": "1gb416fgxl9gq4q6wsv3i2grq1mzbi7lvfvmfdqbxqbv9vizzh34"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/svent/go-nbreader",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/svent/go-nbreader",
|
||||
"rev": "7cef48da76dca6a496faa7fe63e39ed665cbd219",
|
||||
"sha256": "0hw11jj5r3f6qwydg41nc3c6aadlbkhc1qpxra2609lis0qa9h4r"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
|
||||
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/svent/go-flags";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/svent/go-flags";
|
||||
rev = "4bcbad344f0318adaf7aabc16929701459009aa3";
|
||||
sha256 = "1gb416fgxl9gq4q6wsv3i2grq1mzbi7lvfvmfdqbxqbv9vizzh34";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/svent/go-nbreader";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/svent/go-nbreader";
|
||||
rev = "7cef48da76dca6a496faa7fe63e39ed665cbd219";
|
||||
sha256 = "0hw11jj5r3f6qwydg41nc3c6aadlbkhc1qpxra2609lis0qa9h4r";
|
||||
};
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user