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
@@ -1,38 +0,0 @@
|
||||
[
|
||||
{
|
||||
"goPackagePath": "github.com/cenkalti/backoff",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cenkalti/backoff",
|
||||
"rev": "cdf48bbc1eb78d1349cbda326a4a037f7ba565c6",
|
||||
"sha256": "0dg7hvpv0a1db8qriygz1jqgp16v8k505b197x9902z7z6lldgbh"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/gobwas/glob",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/gobwas/glob",
|
||||
"rev": "ce6abff51712df5da11095fb41dd4b0353559797",
|
||||
"sha256": "1gxv4nnn3f9hw1ncdmhsr8fbfdma2h713ima7b4k28gxydfa8i9m"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/syncthing/syncthing",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/syncthing/syncthing",
|
||||
"rev": "66a506e72b9dcc749d09a03cb120ba86bbf3d7f8",
|
||||
"sha256": "0is4f1r3im2bbmbca9fafzxffikxaf86vd6f851831fk5wi4pzw9"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/zillode/notify",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zillode/notify",
|
||||
"rev": "2da5cc9881e8f16bab76b63129c7781898f97d16",
|
||||
"sha256": "0qwsj730p5mivp2xw9zr5vq8xr7rr9cxjmi564wgmsn7dcvqnr40"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,38 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/cenkalti/backoff";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/cenkalti/backoff";
|
||||
rev = "cdf48bbc1eb78d1349cbda326a4a037f7ba565c6";
|
||||
sha256 = "0dg7hvpv0a1db8qriygz1jqgp16v8k505b197x9902z7z6lldgbh";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/gobwas/glob";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gobwas/glob";
|
||||
rev = "ce6abff51712df5da11095fb41dd4b0353559797";
|
||||
sha256 = "1gxv4nnn3f9hw1ncdmhsr8fbfdma2h713ima7b4k28gxydfa8i9m";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/syncthing/syncthing";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/syncthing/syncthing";
|
||||
rev = "66a506e72b9dcc749d09a03cb120ba86bbf3d7f8";
|
||||
sha256 = "0is4f1r3im2bbmbca9fafzxffikxaf86vd6f851831fk5wi4pzw9";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/zillode/notify";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/zillode/notify";
|
||||
rev = "2da5cc9881e8f16bab76b63129c7781898f97d16";
|
||||
sha256 = "0qwsj730p5mivp2xw9zr5vq8xr7rr9cxjmi564wgmsn7dcvqnr40";
|
||||
};
|
||||
}
|
||||
]
|
||||
@@ -13,7 +13,7 @@ buildGoPackage rec {
|
||||
sha256 = "194pbz9zzxaz0vri93czpbsxl85znlba2gy61mjgyr0dm2h4s6yw";
|
||||
};
|
||||
|
||||
goDeps = ./inotify-deps.json;
|
||||
goDeps = ./inotify-deps.nix;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/syncthing/syncthing-inotify;
|
||||
|
||||
Reference in New Issue
Block a user