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