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