summary refs log tree commit diff
path: root/pkgs/servers/gotty
diff options
context:
space:
mode:
authorKamil Chmielewski <kamil.chm@gmail.com>2016-09-10 12:04:13 +0200
committerzimbatm <zimbatm@zimbatm.com>2016-09-16 00:04:55 +0100
commit914e0e594ca2d0fa5d456be208bf703d79f04fa3 (patch)
tree49cabb000804d24bb798de8afaacaa7fac8a41c8 /pkgs/servers/gotty
parent7a6b860e1c5c6e35719631ff3599521144990077 (diff)
downloadnixpkgs-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar
nixpkgs-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.gz
nixpkgs-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.bz2
nixpkgs-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.lz
nixpkgs-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.xz
nixpkgs-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.zst
nixpkgs-914e0e594ca2d0fa5d456be208bf703d79f04fa3.zip
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
Diffstat (limited to 'pkgs/servers/gotty')
-rw-r--r--pkgs/servers/gotty/default.nix2
-rw-r--r--pkgs/servers/gotty/deps.json74
-rw-r--r--pkgs/servers/gotty/deps.nix74
3 files changed, 75 insertions, 75 deletions
diff --git a/pkgs/servers/gotty/default.nix b/pkgs/servers/gotty/default.nix
index b8718898f4b..28ca858440b 100644
--- a/pkgs/servers/gotty/default.nix
+++ b/pkgs/servers/gotty/default.nix
@@ -14,7 +14,7 @@ buildGoPackage rec {
     sha256 = "0gvnbr61d5si06ik2j075jg00r9b94ryfgg06nqxkf10dp8lgi09";
   };
 
-  goDeps = ./deps.json;
+  goDeps = ./deps.nix;
 
   meta = with stdenv.lib; {
     description = "Share your terminal as a web application";
diff --git a/pkgs/servers/gotty/deps.json b/pkgs/servers/gotty/deps.json
deleted file mode 100644
index 81983165dcd..00000000000
--- a/pkgs/servers/gotty/deps.json
+++ /dev/null
@@ -1,74 +0,0 @@
-[
-    {
-        "goPackagePath": "github.com/gorilla/websocket",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/gorilla/websocket",
-            "rev": "a622679ebd7a3b813862379232f645f8e690e43f",
-            "sha256": "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q"
-        }
-    },
-    {
-        "goPackagePath": "github.com/kr/pty",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/kr/pty",
-            "rev": "67e2db24c831afa6c64fc17b4a143390674365ef",
-            "sha256": "1l3z3wbb112ar9br44m8g838z0pq2gfxcp5s3ka0xvm1hjvanw2d"
-        }
-    },
-    {
-        "goPackagePath": "github.com/braintree/manners",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/braintree/manners",
-            "rev": "cab36f97339b1925cd89e158632728025557e550",
-            "sha256": "1q508c62iiklghkhwqz9c0zsn9hrij7kqb93gdywzj7ms7x6hlfh"
-        }
-    },
-    {
-        "goPackagePath": "github.com/codegangsta/cli",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/codegangsta/cli",
-            "rev": "71f57d300dd6a780ac1856c005c4b518cfd498ec",
-            "sha256": "1fxznirkvank5461789dm5aw5z8aqi0jvwligvz44659rfl376p3"
-        }
-    },
-    {
-        "goPackagePath": "github.com/elazarl/go-bindata-assetfs",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/elazarl/go-bindata-assetfs",
-            "rev": "d5cac425555ca5cf00694df246e04f05e6a55150",
-            "sha256": "636ce247ff6f85c14f38a421f46662fa77bdc29762692e1f72b3cd1f9d7a1d17"
-        }
-    },
-    {
-        "goPackagePath": "github.com/fatih/structs",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/fatih/structs",
-            "rev": "a9f7daa9c2729e97450c2da2feda19130a367d8f",
-            "sha256": "0pyrc7svc826g37al3db19n5l4r2m9h1mlhjh3hz2r41xfaqia50"
-        }
-    },
-    {
-        "goPackagePath": "github.com/hashicorp/hcl",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/hashicorp/hcl",
-            "rev": "54864211433d45cb780682431585b3e573b49e4a",
-            "sha256": "07l2dydzjpdgm2d4a72hkmincn455j3nrafg6hs3c23bkvizj950"
-        }
-    },
-    {
-        "goPackagePath": "github.com/hashicorp/go-multierror",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/hashicorp/go-multierror",
-            "rev": "56912fb08d85084aa318edcf2bba735b97cf35c5",
-            "sha256": "0s01cqdab2f7fxkkjjk2wqx05a1shnwlvfn45h2pi3i4gapvcn0r"
-        }
-    }
-]
diff --git a/pkgs/servers/gotty/deps.nix b/pkgs/servers/gotty/deps.nix
new file mode 100644
index 00000000000..4f59dc414c4
--- /dev/null
+++ b/pkgs/servers/gotty/deps.nix
@@ -0,0 +1,74 @@
+[
+  {
+    goPackagePath = "github.com/gorilla/websocket";
+    fetch = {
+      type = "git";
+      url = "https://github.com/gorilla/websocket";
+      rev = "a622679ebd7a3b813862379232f645f8e690e43f";
+      sha256 = "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q";
+    };
+  }
+  {
+    goPackagePath = "github.com/kr/pty";
+    fetch = {
+      type = "git";
+      url = "https://github.com/kr/pty";
+      rev = "67e2db24c831afa6c64fc17b4a143390674365ef";
+      sha256 = "1l3z3wbb112ar9br44m8g838z0pq2gfxcp5s3ka0xvm1hjvanw2d";
+    };
+  }
+  {
+    goPackagePath = "github.com/braintree/manners";
+    fetch = {
+      type = "git";
+      url = "https://github.com/braintree/manners";
+      rev = "cab36f97339b1925cd89e158632728025557e550";
+      sha256 = "1q508c62iiklghkhwqz9c0zsn9hrij7kqb93gdywzj7ms7x6hlfh";
+    };
+  }
+  {
+    goPackagePath = "github.com/codegangsta/cli";
+    fetch = {
+      type = "git";
+      url = "https://github.com/codegangsta/cli";
+      rev = "71f57d300dd6a780ac1856c005c4b518cfd498ec";
+      sha256 = "1fxznirkvank5461789dm5aw5z8aqi0jvwligvz44659rfl376p3";
+    };
+  }
+  {
+    goPackagePath = "github.com/elazarl/go-bindata-assetfs";
+    fetch = {
+      type = "git";
+      url = "https://github.com/elazarl/go-bindata-assetfs";
+      rev = "d5cac425555ca5cf00694df246e04f05e6a55150";
+      sha256 = "636ce247ff6f85c14f38a421f46662fa77bdc29762692e1f72b3cd1f9d7a1d17";
+    };
+  }
+  {
+    goPackagePath = "github.com/fatih/structs";
+    fetch = {
+      type = "git";
+      url = "https://github.com/fatih/structs";
+      rev = "a9f7daa9c2729e97450c2da2feda19130a367d8f";
+      sha256 = "0pyrc7svc826g37al3db19n5l4r2m9h1mlhjh3hz2r41xfaqia50";
+    };
+  }
+  {
+    goPackagePath = "github.com/hashicorp/hcl";
+    fetch = {
+      type = "git";
+      url = "https://github.com/hashicorp/hcl";
+      rev = "54864211433d45cb780682431585b3e573b49e4a";
+      sha256 = "07l2dydzjpdgm2d4a72hkmincn455j3nrafg6hs3c23bkvizj950";
+    };
+  }
+  {
+    goPackagePath = "github.com/hashicorp/go-multierror";
+    fetch = {
+      type = "git";
+      url = "https://github.com/hashicorp/go-multierror";
+      rev = "56912fb08d85084aa318edcf2bba735b97cf35c5";
+      sha256 = "0s01cqdab2f7fxkkjjk2wqx05a1shnwlvfn45h2pi3i4gapvcn0r";
+    };
+  }
+]