2020-03-27 08:33:21 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-01-03 17:04:35 +01:00
|
|
|
|
2019-06-09 11:20:00 +02:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "websocketd";
|
|
|
|
version = "0.3.1";
|
2019-01-03 17:04:35 +01:00
|
|
|
|
2019-06-09 11:20:00 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joewalnes";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1qc4yi4kwy7bfi3fb17w58ff0i95yi6m4syldh8j79930syr5y8q";
|
2019-01-03 17:04:35 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 03:59:00 +02:00
|
|
|
vendorSha256 = "05k31z4h3b327mh940zh52im4xfk7kf5phb8b7xp4l9bgckhz4lb";
|
2019-01-03 17:04:35 +01:00
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2019-01-03 17:04:35 +01:00
|
|
|
description = "Turn any program that uses STDIN/STDOUT into a WebSocket server";
|
|
|
|
homepage = "http://websocketd.com/";
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|