{ stdenv, fetchurl, gmp }: stdenv.mkDerivation rec { name = "ats2-${version}"; version = "0.2.6"; src = fetchurl { url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz"; sha256 = "0hfaw8mrxrmb9kdbz5sp4nfjsmncmq6zqwm1n2x2p6arn0za6y9i"; }; buildInputs = [ gmp ]; setupHook = ./setup-hook.sh; meta = with stdenv.lib; { description = "Functional programming language with dependent types"; homepage = "http://www.ats-lang.org"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ thoughtpolice ttuegel ]; }; }