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