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