{ 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 ''; }