914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
25 lines
604 B
Nix
25 lines
604 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "gotty-${version}";
|
|
version = "0.0.10";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/yudai/gotty";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "yudai";
|
|
repo = "gotty";
|
|
sha256 = "0gvnbr61d5si06ik2j075jg00r9b94ryfgg06nqxkf10dp8lgi09";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
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;
|
|
};
|
|
}
|