nixpkgs/pkgs/applications/networking/websocketd/default.nix

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

25 lines
596 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-01-03 17:04:35 +01:00
2019-06-09 11:20:00 +02:00
buildGoModule rec {
pname = "websocketd";
2021-02-09 19:43:14 +01:00
version = "0.4.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}";
2021-02-09 19:43:14 +01:00
sha256 = "sha256-cp4iBSQ6Cd0+NPZ2i79Mulg1z17u//OCm3yoArbZEHs=";
2019-01-03 17:04:35 +01:00
};
2021-02-09 19:43:14 +01:00
vendorSha256 = "sha256-i5IPJ3srUXL7WWjBW9w803VSoyjwA5JgPWKsAckPYxY=";
2019-01-03 17:04:35 +01:00
doCheck = false;
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;
};
}