nixpkgs/pkgs/servers/gotty/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
708 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
}:
2016-06-03 18:03:09 +00:00
buildGoModule rec {
pname = "gotty";
2022-07-28 06:39:44 +00:00
version = "1.4.0";
2016-06-03 18:03:09 +00:00
src = fetchFromGitHub {
owner = "sorenisanerd";
repo = "gotty";
rev = "v${version}";
2022-07-28 06:39:44 +00:00
sha256 = "sha256-Pi+opqNEKaw/2qWRqZkVAysMT4moLyEG5g9J/Z9pUDQ=";
2016-06-03 18:03:09 +00:00
};
2022-07-28 06:39:44 +00:00
vendorSha256 = "sha256-XtqIiREtKg0LRnwOg8UyYrWUWJNQbCJUw+nVvaiN3GQ=";
# upstream did not update the tests, so they are broken now
# https://github.com/sorenisanerd/gotty/issues/13
doCheck = false;
meta = with lib; {
2016-06-03 18:03:09 +00:00
description = "Share your terminal as a web application";
homepage = "https://github.com/sorenisanerd/gotty";
maintainers = with maintainers; [ prusnak ];
2016-06-03 18:03:09 +00:00
license = licenses.mit;
};
}