2016-06-06 12:26:56 +02:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-03 20:03:09 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "gotty-${version}";
|
2017-01-03 12:40:48 +01:00
|
|
|
version = "0.0.13";
|
2016-06-03 20:03:09 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/yudai/gotty";
|
|
|
|
|
2016-06-06 12:26:56 +02:00
|
|
|
src = fetchFromGitHub {
|
2016-06-03 20:03:09 +02:00
|
|
|
inherit rev;
|
2016-06-06 12:26:56 +02:00
|
|
|
owner = "yudai";
|
|
|
|
repo = "gotty";
|
2017-01-03 12:40:48 +01:00
|
|
|
sha256 = "1hsfjyjjzr1zc9m8bnhid1ag6ipcbx59111y9p7k8az8jiyr112g";
|
2016-06-03 20:03:09 +02:00
|
|
|
};
|
|
|
|
|
2016-09-10 12:04:13 +02:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-03 20:03:09 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Share your terminal as a web application";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/yudai/gotty;
|
2016-06-03 20:03:09 +02:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|