aboutsummaryrefslogtreecommitdiff
path: root/wapkgs.nix
blob: 5e84fb3828bef568d8134a5733da626c0d613d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{pkgs, lib, ...}:

let
  workadventuresrc = pkgs.fetchFromGitHub {
    owner = "thecodingmachine";
    repo = "workadventure";
    rev = "6e9c71598004dc9cbab9418efb3c0ac892da7ca2";
    sha256 = "0rvra0dy631al4aylacyqldkyd6biawz2shsikgcy30nv5lzc78c";
  };
in 
  lib.fix (self: let
    callWaPackage = path: lib.callPackageWith self (import path workadventuresrc);
  in pkgs // {
    workadventure = {
      back = callWaPackage ./back {};
      pusher = callWaPackage ./pusher {};
      messages = callWaPackage ./messages {};
      front = callWaPackage ./front {};
      uploader = callWaPackage ./uploader {};
      maps = callWaPackage ./maps {};
    };
  })