aboutsummaryrefslogtreecommitdiff
path: root/wapkgs.nix
blob: 1131b98ba1a8806fae1029abbf4ead11f6cd274d (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 = "tabascoeye";
    repo = "workadventure";
    rev = "1824ce3ad469693c0d7bd0dbbd0fc84246889fdd";
    sha256 = "1h5wx5v09hlx680pq1rpzadzc2cylmyx0szxmpsjvilnnv7vplhd";
  };
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 {};
    };
  })