mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
websocketd: init at 0.3.0
This commit is contained in:
parent
2c08c89a7a
commit
daf3d7d49f
24
pkgs/applications/networking/websocketd/default.nix
Normal file
24
pkgs/applications/networking/websocketd/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildGoPackage, fetchgit }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "websocketd-${version}";
|
||||
version = "0.3.0";
|
||||
rev = "729c67f052f8f16a0a0aa032816a57649c0ebed3";
|
||||
|
||||
goPackagePath = "github.com/joewalnes/websocketd";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/joewalnes/websocketd";
|
||||
sha256 = "1n4fag75lpfxg1pm1pr5v0p44dijrxj59s6dn4aqxirhxkq91lzb";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Turn any program that uses STDIN/STDOUT into a WebSocket server";
|
||||
homepage = "http://websocketd.com/";
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
12
pkgs/applications/networking/websocketd/deps.nix
generated
Normal file
12
pkgs/applications/networking/websocketd/deps.nix
generated
Normal file
|
@ -0,0 +1,12 @@
|
|||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/gorilla/websocket";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gorilla/websocket";
|
||||
rev = "95ba29eb981bbb27d92e1f70bf8a1949452d926b";
|
||||
sha256 = "08lvc9l0qagyhyrjj6jkhpq3zapa5gqr966bm33nb4bc0pd38f48";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -22967,6 +22967,8 @@ in
|
|||
|
||||
webfs = callPackage ../servers/http/webfs { };
|
||||
|
||||
websocketd = callPackage ../applications/networking/websocketd { };
|
||||
|
||||
wikicurses = callPackage ../applications/misc/wikicurses {
|
||||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue