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