2021-01-22 12:25:31 +01:00
|
|
|
{ lib, stdenv, fetchurl, gmp }:
|
2014-03-25 04:51:35 +01:00
|
|
|
|
2014-04-27 18:24:09 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ats";
|
2015-03-16 14:58:55 +01:00
|
|
|
version = "0.2.12";
|
2014-03-25 04:51:35 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/ats-lang/ats-lang-anairiats-${version}.tgz";
|
2015-03-16 14:58:55 +01:00
|
|
|
sha256 = "0l2kj1fzhxwsklwmn5yj2vp9rmw4jg0b18bzwqz72bfi8i39736k";
|
2014-03-25 04:51:35 +01:00
|
|
|
};
|
2014-04-27 18:24:09 +02:00
|
|
|
|
2014-03-25 04:51:35 +01:00
|
|
|
# this is necessary because atxt files usually include some .hats files
|
|
|
|
patches = [ ./install-atsdoc-hats-files.patch ];
|
|
|
|
buildInputs = [ gmp ];
|
|
|
|
|
|
|
|
meta = {
|
2014-04-27 18:24:09 +02:00
|
|
|
description = "Functional programming language with dependent types";
|
|
|
|
homepage = "http://www.ats-lang.org";
|
2021-01-22 12:25:31 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2015-01-02 21:41:16 +01:00
|
|
|
# TODO: it looks like ATS requires gcc specifically. Someone with more knowledge
|
|
|
|
# will need to experiment.
|
2021-01-22 12:25:31 +01:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.thoughtpolice ];
|
2014-03-25 04:51:35 +01:00
|
|
|
};
|
|
|
|
}
|