This commit rewrites the expression somewhat: - it tries to simplify the expression. - it changes from fetchurl to fetchhg. - a patch to configure.ac is added in order to enable configuring the source on NixOS.