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