about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/gotty/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/gotty/default.nix')
-rw-r--r--nixpkgs/pkgs/servers/gotty/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/gotty/default.nix b/nixpkgs/pkgs/servers/gotty/default.nix
new file mode 100644
index 000000000000..ebade244bdf7
--- /dev/null
+++ b/nixpkgs/pkgs/servers/gotty/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  name = "gotty-${version}";
+  version = "0.0.13";
+  rev = "v${version}";
+
+  goPackagePath = "github.com/yudai/gotty";
+
+  src = fetchFromGitHub {
+    inherit rev;
+    owner = "yudai";
+    repo = "gotty";
+    sha256 = "1hsfjyjjzr1zc9m8bnhid1ag6ipcbx59111y9p7k8az8jiyr112g";
+  };
+
+  goDeps = ./deps.nix;
+
+  meta = with stdenv.lib; {
+    description = "Share your terminal as a web application";
+    homepage = https://github.com/yudai/gotty;
+    maintainers = with maintainers; [ ];
+    license = licenses.mit;
+  };
+}