3
0
Fork 0
forked from mirrors/nixpkgs

gotty: 2.0.0-alpha.3 -> 1.2.0

new upstream, versioning scheme changed back to v 1.x
This commit is contained in:
Pavol Rusnak 2021-05-29 22:48:50 +02:00
parent 0d698e6186
commit 5a8cd34dba
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -1,23 +1,29 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoPackage rec {
buildGoModule rec {
pname = "gotty";
version = "2.0.0-alpha.3";
rev = "v${version}";
goPackagePath = "github.com/yudai/gotty";
version = "1.2.0";
src = fetchFromGitHub {
inherit rev;
owner = "yudai";
owner = "sorenisanerd";
repo = "gotty";
sha256 = "1vhhs7d4k1vpkf2k69ai2r3bp3zwnwa8l9q7vza0rck69g4nmz7a";
rev = "v${version}";
sha256 = "06ngxnblwkmiln9bxikg9q2wdlh45481pnz87bpsw2r7hc69bv9n";
};
vendorSha256 = "0mzf5209r3fzqf9q98j3b2cdzvfa3kg62xn0spx5zr6nabmhaa79";
# upstream did not update the tests, so they are broken now
# https://github.com/sorenisanerd/gotty/issues/13
doCheck = false;
meta = with lib; {
description = "Share your terminal as a web application";
homepage = "https://github.com/yudai/gotty";
maintainers = with maintainers; [ ];
homepage = "https://github.com/sorenisanerd/gotty";
maintainers = with maintainers; [ prusnak ];
license = licenses.mit;
};
}