diff options
author | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-03 20:03:09 +0200 |
---|---|---|
committer | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-09 11:21:30 +0200 |
commit | 20a457faf777dee002024aa425a9076c936e0d3f (patch) | |
tree | 9579c32bd379528257249f26488407e4e50d82d1 /pkgs/servers/gotty | |
parent | 26d231c536bec9b26c9e0b8009cf2d72d8c285c2 (diff) |
gotty: extracted from goPackages
Diffstat (limited to 'pkgs/servers/gotty')
-rw-r--r-- | pkgs/servers/gotty/default.nix | 27 | ||||
-rw-r--r-- | pkgs/servers/gotty/deps.json | 15 |
2 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/servers/gotty/default.nix b/pkgs/servers/gotty/default.nix new file mode 100644 index 000000000000..c826180d7585 --- /dev/null +++ b/pkgs/servers/gotty/default.nix @@ -0,0 +1,27 @@ +# This file was generated by go2nix. +{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }: + +with goPackages; + +buildGoPackage rec { + name = "gotty-${version}"; + version = "0.0.10"; + rev = "v${version}"; + + goPackagePath = "github.com/yudai/gotty"; + + src = fetchgit { + inherit rev; + url = "https://github.com/yudai/gotty"; + sha256 = "1jc620j4y2r8706r6qn7g2nghiidaaj7f8m2vjgq2gwv288qjafd"; + }; + + goDeps = ./deps.json; + + meta = with stdenv.lib; { + description = "Share your terminal as a web application"; + homepage = "https://github.com/yudai/gotty"; + maintainers = with maintainers; [ matthiasbeyer ]; + license = licenses.mit; + }; +} diff --git a/pkgs/servers/gotty/deps.json b/pkgs/servers/gotty/deps.json new file mode 100644 index 000000000000..ff0016df6233 --- /dev/null +++ b/pkgs/servers/gotty/deps.json @@ -0,0 +1,15 @@ +[ + { + "include": "../../libs.json", + "packages": [ + "github.com/kr/pty", + "github.com/braintree/manners", + "github.com/codegangsta/cli", + "github.com/elazarl/go-bindata-assetfs", + "github.com/fatih/structs", + "github.com/gorilla/websocket", + "github.com/hashicorp/hcl", + "github.com/hashicorp/go-multierror" + ] + } +] |