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