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:
Kamil Chmielewski
2016-09-16 00:04:55 +01:00
committed by zimbatm
parent 7a6b860e1c
commit 914e0e594c
173 changed files with 4176 additions and 4127 deletions
+3 -3
View File
@@ -3,7 +3,7 @@
buildGoPackage rec {
name = "go2nix-${version}";
version = "0.1.0";
version = "1.1.0";
rev = "v${version}";
goPackagePath = "github.com/kamilchm/go2nix";
@@ -12,10 +12,10 @@ buildGoPackage rec {
inherit rev;
owner = "kamilchm";
repo = "go2nix";
sha256 = "10nz7gva3n6wk01wphrjjb31sy33kf9ji03zr849x21a669fnmjf";
sha256 = "0asbbcyf1hh8khakych0y09rjarjiywr8pyy1v8ghpr1vvg43a09";
};
goDeps = ./deps.json;
goDeps = ./deps.nix;
buildInputs = [ go-bindata goimports makeWrapper ];
preBuild = ''go generate ./...'';
-20
View File
@@ -1,20 +0,0 @@
[
{
"goPackagePath": "github.com/Masterminds/vcs",
"fetch": {
"type": "git",
"url": "https://github.com/Masterminds/vcs",
"rev": "7af28b64c5ec41b1558f5514fd938379822c237c",
"sha256": "127pamr5lkym3iq6z747bm4y4gyc02glrqb61yv82z1rdyv1dcf6"
}
},
{
"goPackagePath": "github.com/jawher/mow.cli",
"fetch": {
"type": "git",
"url": "https://github.com/jawher/mow.cli",
"rev": "772320464101e904cd51198160eb4d489be9cc49",
"sha256": "1a8hnh2k3vc3prjhnz4rjbiwhqq6r3mi18h9cdb6fc6s6yzjc19j"
}
}
]
+20
View File
@@ -0,0 +1,20 @@
[
{
goPackagePath = "github.com/Masterminds/vcs";
fetch = {
type = "git";
url = "https://github.com/Masterminds/vcs";
rev = "7af28b64c5ec41b1558f5514fd938379822c237c";
sha256 = "127pamr5lkym3iq6z747bm4y4gyc02glrqb61yv82z1rdyv1dcf6";
};
}
{
goPackagePath = "github.com/jawher/mow.cli";
fetch = {
type = "git";
url = "https://github.com/jawher/mow.cli";
rev = "772320464101e904cd51198160eb4d489be9cc49";
sha256 = "1a8hnh2k3vc3prjhnz4rjbiwhqq6r3mi18h9cdb6fc6s6yzjc19j";
};
}
]