From 20a457faf777dee002024aa425a9076c936e0d3f Mon Sep 17 00:00:00 2001 From: Kamil Chmielewski Date: Fri, 3 Jun 2016 20:03:09 +0200 Subject: gotty: extracted from goPackages --- pkgs/servers/gotty/default.nix | 27 +++++++++++++++++++++++++++ pkgs/servers/gotty/deps.json | 15 +++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 pkgs/servers/gotty/default.nix create mode 100644 pkgs/servers/gotty/deps.json (limited to 'pkgs/servers/gotty') diff --git a/pkgs/servers/gotty/default.nix b/pkgs/servers/gotty/default.nix new file mode 100644 index 00000000000..c826180d758 --- /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 00000000000..ff0016df623 --- /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" + ] + } +] -- cgit 1.4.1