about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com/pkg
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-06-15T17·20-0700
committerriking <rikingcoding@gmail.com>2020-06-15T18·19+0000
commit2237a51d10c7ffd30ca3ef08762212f271fee01e (patch)
treeadefa578d60dc934743eaa2f394155e6ad191658 /third_party/gopkgs/github.com/pkg
parent9885b70b7aa8e90da930a2cab2af9318d4bede88 (diff)
feat(fun/uggc): create a rot13 url handler r/968
Example usage:
$ /nix/store/9kgpv4n62vhxs971jkvwvvl3msm4wpm8-uggc/bin/uggc 'uggcf://gjvggre.pbz/alnabgrpu/fgnghf/1272363652679524352'

Change-Id: I8fd5f77416116ce1a6ab7f96d3f2c726ef663677
Reviewed-on: https://cl.tvl.fyi/c/depot/+/386
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: eta <eta@theta.eu.org>
Diffstat (limited to 'third_party/gopkgs/github.com/pkg')
-rw-r--r--third_party/gopkgs/github.com/pkg/browser/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/gopkgs/github.com/pkg/browser/default.nix b/third_party/gopkgs/github.com/pkg/browser/default.nix
new file mode 100644
index 000000000000..ae685e50b356
--- /dev/null
+++ b/third_party/gopkgs/github.com/pkg/browser/default.nix
@@ -0,0 +1,12 @@
+{ depot, ... }:
+
+depot.buildGo.external {
+  path = "github.com/pkg/browser";
+
+  src = depot.third_party.fetchFromGitHub {
+    owner = "pkg";
+    repo = "browser";
+    rev = "0a3d74bf9ce488f035cf5bc36f753a711bc74334";
+    sha256 = "0lv6kwvm31n79mh14a63zslaf4l9bspi2q0i8i9im4njfl42iv1c";
+  };
+}