summaryrefslogtreecommitdiff
path: root/custom/prosody-auth.nix
blob: c77677c588f42ad8ad4bde6a1115365b6bec29bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ stdenv
, fetchgit
}:

let
in stdenv.mkDerivation {
  name = "prosody-auth";
  src = fetchgit (builtins.fromJSON (builtins.readFile ./prosody-auth.json));
  builder = builtins.toFile "builder.sh" ''
    source $stdenv/setup

    mkdir -p $out
    cp -rv $src/mod_auth_custom $out
  '';
}