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
706 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
}:
2016-06-03 18:03:09 +00:00
buildGoModule rec {
pname = "gotty";
2022-09-01 11:59:01 +00:00
version = "1.5.0";
2016-06-03 18:03:09 +00:00
src = fetchFromGitHub {
owner = "sorenisanerd";
repo = "gotty";
rev = "v${version}";
2022-09-01 11:59:01 +00:00
sha256 = "sha256-VSu0ASnLmRzOGOEKqb/zB43+HxEwMpKLpbdbWY5QrEk=";
2016-06-03 18:03:09 +00:00
};
vendorHash = "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;
};
}