nixpkgs/pkgs/development/compilers/ats/default.nix

26 lines
807 B
Nix
Raw Normal View History

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