about summary refs log tree commit diff
path: root/pkgs/tools/text/platinum-searcher
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/tools/text/platinum-searcher
parent7a6b860e1c5c6e35719631ff3599521144990077 (diff)
downloadnixlib-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar
nixlib-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.gz
nixlib-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.bz2
nixlib-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.lz
nixlib-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.xz
nixlib-914e0e594ca2d0fa5d456be208bf703d79f04fa3.tar.zst
nixlib-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/tools/text/platinum-searcher')
-rw-r--r--pkgs/tools/text/platinum-searcher/default.nix2
-rw-r--r--pkgs/tools/text/platinum-searcher/deps.json83
-rw-r--r--pkgs/tools/text/platinum-searcher/deps.nix83
3 files changed, 84 insertions, 84 deletions
diff --git a/pkgs/tools/text/platinum-searcher/default.nix b/pkgs/tools/text/platinum-searcher/default.nix
index 21a49d493aa7..502af44262b6 100644
--- a/pkgs/tools/text/platinum-searcher/default.nix
+++ b/pkgs/tools/text/platinum-searcher/default.nix
@@ -14,7 +14,7 @@ buildGoPackage rec {
     sha256 = "09pkdfh7fqn3x4l9zaw5wzk20k7nfdwry7br9vfy3vv3fwv61ynp";
   };
 
-  goDeps = ./deps.json;
+  goDeps = ./deps.nix;
 
   meta = with stdenv.lib; {
     homepage = https://github.com/monochromegane/the_platinum_searcher;
diff --git a/pkgs/tools/text/platinum-searcher/deps.json b/pkgs/tools/text/platinum-searcher/deps.json
deleted file mode 100644
index 5578478eb4c3..000000000000
--- a/pkgs/tools/text/platinum-searcher/deps.json
+++ /dev/null
@@ -1,83 +0,0 @@
-[
-    {
-        "goPackagePath": "gopkg.in/yaml.v2",
-        "fetch": {
-            "type": "git",
-            "url": "https://gopkg.in/yaml.v2",
-            "rev": "a83829b6f1293c91addabc89d0571c246397bbf4",
-            "sha256": "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh"
-        }
-    },
-    {
-        "goPackagePath": "github.com/jessevdk/go-flags",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/jessevdk/go-flags",
-            "rev": "1b89bf73cd2c3a911d7b2a279ab085c4a18cf539",
-            "sha256": "027nglc5xx1cm03z9sisg0iqrhwcj6gh5z254rrpl8p4fwrxx680"
-        }
-    },
-    {
-        "goPackagePath": "github.com/BurntSushi/toml",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/BurntSushi/toml",
-            "rev": "056c9bc7be7190eaa7715723883caffa5f8fa3e4",
-            "sha256": "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw"
-        }
-    },
-    {
-        "goPackagePath": "golang.org/x/text",
-        "fetch": {
-            "type": "git",
-            "url": "https://go.googlesource.com/text",
-            "rev": "5eb8d4684c4796dd36c74f6452f2c0fa6c79597e",
-            "sha256": "1cjwm2pv42dbfqc6ylr7jmma902zg4gng5aarqrbjf1k2nf2vs14"
-        }
-    },
-    {
-        "goPackagePath": "github.com/monochromegane/conflag",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/monochromegane/conflag",
-            "rev": "6d68c9aa4183844ddc1655481798fe4d90d483e9",
-            "sha256": "0csfr5c8d3kbna9sqhzfp2z06wq6mc6ijja1zj2i82kzsq8534wa"
-        }
-    },
-    {
-        "goPackagePath": "github.com/monochromegane/go-home",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/monochromegane/go-home",
-            "rev": "25d9dda593924a11ea52e4ffbc8abdb0dbe96401",
-            "sha256": "172chakrj22xfm0bcda4qj5zqf7lwr53pzwc3xj6wz8vd2bcxkww"
-        }
-    },
-    {
-        "goPackagePath": "github.com/monochromegane/terminal",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/monochromegane/terminal",
-            "rev": "2da212063ce19aed90ee5bbb00ad1ad7393d7f48",
-            "sha256": "1rddaq9pk5q57ildms35iihghqk505gb349pb0f6k3svchay38nh"
-        }
-    },
-    {
-        "goPackagePath": "github.com/monochromegane/go-gitignore",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/monochromegane/go-gitignore",
-            "rev": "38717d0a108ca0e5af632cd6845ca77d45b50729",
-            "sha256": "0r1inabpgg6sn6i47b02hcmd2p4dc1ab1mcy20mn1b2k3mpdj4b7"
-        }
-    },
-    {
-        "goPackagePath": "github.com/shiena/ansicolor",
-        "fetch": {
-            "type": "git",
-            "url": "https://github.com/shiena/ansicolor",
-            "rev": "a5e2b567a4dd6cc74545b8a4f27c9d63b9e7735b",
-            "sha256": "0gwplb1b4fvav1vjf4b2dypy5rcp2w41vrbxkd1dsmac870cy75p"
-        }
-    }
-]
diff --git a/pkgs/tools/text/platinum-searcher/deps.nix b/pkgs/tools/text/platinum-searcher/deps.nix
new file mode 100644
index 000000000000..da3f3ff1b8ab
--- /dev/null
+++ b/pkgs/tools/text/platinum-searcher/deps.nix
@@ -0,0 +1,83 @@
+[
+  {
+    goPackagePath = "gopkg.in/yaml.v2";
+    fetch = {
+      type = "git";
+      url = "https://gopkg.in/yaml.v2";
+      rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
+      sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
+    };
+  }
+  {
+    goPackagePath = "github.com/jessevdk/go-flags";
+    fetch = {
+      type = "git";
+      url = "https://github.com/jessevdk/go-flags";
+      rev = "1b89bf73cd2c3a911d7b2a279ab085c4a18cf539";
+      sha256 = "027nglc5xx1cm03z9sisg0iqrhwcj6gh5z254rrpl8p4fwrxx680";
+    };
+  }
+  {
+    goPackagePath = "github.com/BurntSushi/toml";
+    fetch = {
+      type = "git";
+      url = "https://github.com/BurntSushi/toml";
+      rev = "056c9bc7be7190eaa7715723883caffa5f8fa3e4";
+      sha256 = "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw";
+    };
+  }
+  {
+    goPackagePath = "golang.org/x/text";
+    fetch = {
+      type = "git";
+      url = "https://go.googlesource.com/text";
+      rev = "5eb8d4684c4796dd36c74f6452f2c0fa6c79597e";
+      sha256 = "1cjwm2pv42dbfqc6ylr7jmma902zg4gng5aarqrbjf1k2nf2vs14";
+    };
+  }
+  {
+    goPackagePath = "github.com/monochromegane/conflag";
+    fetch = {
+      type = "git";
+      url = "https://github.com/monochromegane/conflag";
+      rev = "6d68c9aa4183844ddc1655481798fe4d90d483e9";
+      sha256 = "0csfr5c8d3kbna9sqhzfp2z06wq6mc6ijja1zj2i82kzsq8534wa";
+    };
+  }
+  {
+    goPackagePath = "github.com/monochromegane/go-home";
+    fetch = {
+      type = "git";
+      url = "https://github.com/monochromegane/go-home";
+      rev = "25d9dda593924a11ea52e4ffbc8abdb0dbe96401";
+      sha256 = "172chakrj22xfm0bcda4qj5zqf7lwr53pzwc3xj6wz8vd2bcxkww";
+    };
+  }
+  {
+    goPackagePath = "github.com/monochromegane/terminal";
+    fetch = {
+      type = "git";
+      url = "https://github.com/monochromegane/terminal";
+      rev = "2da212063ce19aed90ee5bbb00ad1ad7393d7f48";
+      sha256 = "1rddaq9pk5q57ildms35iihghqk505gb349pb0f6k3svchay38nh";
+    };
+  }
+  {
+    goPackagePath = "github.com/monochromegane/go-gitignore";
+    fetch = {
+      type = "git";
+      url = "https://github.com/monochromegane/go-gitignore";
+      rev = "38717d0a108ca0e5af632cd6845ca77d45b50729";
+      sha256 = "0r1inabpgg6sn6i47b02hcmd2p4dc1ab1mcy20mn1b2k3mpdj4b7";
+    };
+  }
+  {
+    goPackagePath = "github.com/shiena/ansicolor";
+    fetch = {
+      type = "git";
+      url = "https://github.com/shiena/ansicolor";
+      rev = "a5e2b567a4dd6cc74545b8a4f27c9d63b9e7735b";
+      sha256 = "0gwplb1b4fvav1vjf4b2dypy5rcp2w41vrbxkd1dsmac870cy75p";
+    };
+  }
+]