A simple WebSocket chat server written in Haskell. Used in the JavaScript course from Devalot: https://code.devalot.com/training/webdev
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

wschat.nix 536B

1234567891011121314151617
  1. { mkDerivation, aeson, base, concurrent-supply, directory, filepath
  2. , http-types, stdenv, stm, text, unordered-containers, wai
  3. , wai-websockets, warp, websockets
  4. }:
  5. mkDerivation {
  6. pname = "wschat";
  7. version = "0.1.0.1";
  8. src = ./.;
  9. isLibrary = false;
  10. isExecutable = true;
  11. executableHaskellDepends = [
  12. aeson base concurrent-supply directory filepath http-types stm text
  13. unordered-containers wai wai-websockets warp websockets
  14. ];
  15. description = "Simple WebSocket chat server";
  16. license = stdenv.lib.licenses.bsd2;
  17. }