From 2237a51d10c7ffd30ca3ef08762212f271fee01e Mon Sep 17 00:00:00 2001 From: Kane York Date: Mon, 15 Jun 2020 10:20:09 -0700 Subject: feat(fun/uggc): create a rot13 url handler 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 Reviewed-by: eta --- third_party/gopkgs/github.com/pkg/browser/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 third_party/gopkgs/github.com/pkg/browser/default.nix (limited to 'third_party/gopkgs/github.com/pkg/browser') 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"; + }; +} -- cgit 1.4.1