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

let
in stdenv.mkDerivation {
  name = "prosody-auth";
  src = fetchgit {
    url = "git://git.yggdrasil.li/prosody_auth";
    rev = "40ec364d59bbfa032e4783415b66b7bc9ba4fa9c";
    sha256 = "a7f19cc2bf76e055d267d86d1a252bf1c373e531eca3901879f45c44f9121efd";
  };
  builder = builtins.toFile "builder.sh" ''
    source $stdenv/setup

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