git.iko.soy/typeable/nixpkgs
on master help sign in
websocketd: init at 0.3.0
commitdaf3d7d49f6c966aa4e06dc6f8477b9f41c78d09 authorBjørn Forsman <bjorn.forsman@gmail.com> dateThu 3 Jan 2019, 17:04 (8 years ago) parent2c08c89
3 files changed+38
pkgs/applications/networking/websocketd/default.nix+24 pkgs/applications/networking/websocketd/deps.nix+12 pkgs/top-level/all-packages.nix+2
pkgs/applications/networking/websocketd/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, buildGoPackage, fetchgit }:
2+
3+buildGoPackage rec {
4+ name = "websocketd-${version}";
5+ version = "0.3.0";
6+ rev = "729c67f052f8f16a0a0aa032816a57649c0ebed3";
7+
8+ goPackagePath = "github.com/joewalnes/websocketd";
9+
10+ src = fetchgit {
11+ inherit rev;
12+ url = "https://github.com/joewalnes/websocketd";
13+ sha256 = "1n4fag75lpfxg1pm1pr5v0p44dijrxj59s6dn4aqxirhxkq91lzb";
14+ };
15+
16+ goDeps = ./deps.nix;
17+
18+ meta = with stdenv.lib; {
19+ description = "Turn any program that uses STDIN/STDOUT into a WebSocket server";
20+ homepage = "http://websocketd.com/";
21+ maintainers = [ maintainers.bjornfor ];
22+ license = licenses.bsd2;
23+ };
24+}
pkgs/applications/networking/websocketd/deps.nixnew file+12
@@ -0,0 +1,12 @@
1+# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2+[
3+ {
4+ goPackagePath = "github.com/gorilla/websocket";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/gorilla/websocket";
8+ rev = "95ba29eb981bbb27d92e1f70bf8a1949452d926b";
9+ sha256 = "08lvc9l0qagyhyrjj6jkhpq3zapa5gqr966bm33nb4bc0pd38f48";
10+ };
11+ }
12+]
pkgs/top-level/all-packages.nix+2
@@ -22967,6 +22967,8 @@ in
2296722967
2296822968 webfs = callPackage ../servers/http/webfs { };
2296922969
22970+ websocketd = callPackage ../applications/networking/websocketd { };
22971+
2297022972 wikicurses = callPackage ../applications/misc/wikicurses {
2297122973 pythonPackages = python3Packages;
2297222974 };