nixpkgs/pkgs/servers/gotty/default.nix

26 lines
604 B
Nix
Raw Normal View History

{ 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";
src = fetchFromGitHub {
2016-06-03 20:03:09 +02:00
inherit rev;
owner = "yudai";
repo = "gotty";
2017-01-03 12:40:48 +01:00
sha256 = "1hsfjyjjzr1zc9m8bnhid1ag6ipcbx59111y9p7k8az8jiyr112g";
2016-06-03 20:03:09 +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";
homepage = "https://github.com/yudai/gotty";
maintainers = with maintainers; [ matthiasbeyer ];
license = licenses.mit;
};
}