nixpkgs-suyu/pkgs/servers/gotty/default.nix
Kamil Chmielewski 914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
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
2016-09-16 00:04:55 +01:00

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;
};
}