nixpkgs/pkgs/servers/gotty/default.nix

26 lines
604 B
Nix
Raw Normal View History

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2016-06-03 18:03:09 +00:00
buildGoPackage rec {
name = "gotty-${version}";
2017-01-03 11:40:48 +00:00
version = "0.0.13";
2016-06-03 18:03:09 +00:00
rev = "v${version}";
goPackagePath = "github.com/yudai/gotty";
src = fetchFromGitHub {
2016-06-03 18:03:09 +00:00
inherit rev;
owner = "yudai";
repo = "gotty";
2017-01-03 11:40:48 +00:00
sha256 = "1hsfjyjjzr1zc9m8bnhid1ag6ipcbx59111y9p7k8az8jiyr112g";
2016-06-03 18:03:09 +00:00
};
goDeps = ./deps.nix;
2016-06-03 18:03:09 +00:00
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;
};
}