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