aboutsummaryrefslogtreecommitdiff
path: root/wapkgs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'wapkgs.nix')
-rw-r--r--wapkgs.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/wapkgs.nix b/wapkgs.nix
new file mode 100644
index 0000000..5e84fb3
--- /dev/null
+++ b/wapkgs.nix
@@ -0,0 +1,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 {};
+ };
+ })
+