{ stdenv , fetchgit }: let in stdenv.mkDerivation { name = "prosody-auth"; src = fetchgit { url = "git://git.yggdrasil.li/prosody_auth"; rev = "b3e203324142d213f8d5dd648d54cd128e7f0568"; sha256 = "d4c4dd98af7bff6c0325f131c5d97cf161aa4dc5fd96354ec751e411eada24bf"; }; builder = builtins.toFile "builder.sh" '' source $stdenv/setup mkdir -p $out cp -rv $src/mod_auth_custom $out ''; }