aboutsummaryrefslogtreecommitdiff
path: root/wapkgs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'wapkgs.nix')
-rw-r--r--wapkgs.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/wapkgs.nix b/wapkgs.nix
index 4e0abdd..c43b170 100644
--- a/wapkgs.nix
+++ b/wapkgs.nix
@@ -1,6 +1,12 @@
{pkgs, ...}:
let
+ patchSources = src: patches: pkgs.stdenv.mkDerivation {
+ name = "${src.name}-patched";
+ inherit patches src;
+ buildPhase = "mkdir -p $out";
+ installPhase = "cp -r * $out";
+ };
codingmachine = pkgs.fetchFromGitHub {
owner = "thecodingmachine";
repo = "workadventure";
@@ -24,6 +30,12 @@ let
rev = "e769e713c6058efac6959437df6a02da02b8e065";
sha256 = "13243az0b2w69wmbf5z0qnbd9rfixkj61c844c97sy2h136159yd";
};
+ xce = pkgs.fetchFromGitHub {
+ owner = "workadventure-xce";
+ repo = "workadventure-xce";
+ rev = "ba439ca6699a7e5751386d5bed5c44e375e12eb6";
+ sha256 = "1r6dpn8biisrqij5v2pg1vlifgvv93fnqppyp2l9wzls5am3rx6x";
+ };
wapkgs =
pkgs.lib.fix (self: let
mkWorkadventureset = waSelf: workadventuresrc: name:
@@ -46,10 +58,12 @@ let
workadventure-tcm = mkWorkadventureset workadventure-tcm codingmachine "tcm";
workadventure-tabascoeye = mkWorkadventureset workadventure-tabascoeye tabascoeye "tabascoeye";
workadventure-fediventure = mkWorkadventureset workadventure-fediventure fediventure "fediventure";
+ workadventure-xce = mkWorkadventureset workadventure-xce (patchSources xce [ ./front/xce.patch ]) "xce";
});
in {
workadventure-hasi = pkgs.lib.mapAttrs (name: pkg: pkg.overrideAttrs(old: { meta.broken = true; })) wapkgs.workadventure-hasi;
workadventure-tcm = wapkgs.workadventure-tcm;
workadventure-tabascoeye = wapkgs.workadventure-tabascoeye;
workadventure-fediventure = wapkgs.workadventure-fediventure;
+ workadventure-xce = wapkgs.workadventure-xce;
}