2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-01-03 16:04:35 +00:00
|
|
|
|
2019-06-09 09:20:00 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "websocketd";
|
2021-02-09 18:43:14 +00:00
|
|
|
version = "0.4.1";
|
2019-01-03 16:04:35 +00:00
|
|
|
|
2019-06-09 09:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joewalnes";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-09 18:43:14 +00:00
|
|
|
sha256 = "sha256-cp4iBSQ6Cd0+NPZ2i79Mulg1z17u//OCm3yoArbZEHs=";
|
2019-01-03 16:04:35 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-i5IPJ3srUXL7WWjBW9w803VSoyjwA5JgPWKsAckPYxY=";
|
2019-01-03 16:04:35 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-01-03 16:04:35 +00:00
|
|
|
description = "Turn any program that uses STDIN/STDOUT into a WebSocket server";
|
|
|
|
homepage = "http://websocketd.com/";
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
license = licenses.bsd2;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "websocketd";
|
2019-01-03 16:04:35 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|