summary refs log tree commit diff
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-04-27 11:24:09 -0500
committerAustin Seipp <aseipp@pobox.com>2014-04-27 11:26:16 -0500
commite590c0a867e84f3bdf59ff596b763c1d40d3f77f (patch)
treed9a510ad4db723f80217991fb51f070bdd45009e
parent92f7781f00f4fed209143b10b0e33ec3470af342 (diff)
downloadnixpkgs-e590c0a867e84f3bdf59ff596b763c1d40d3f77f.tar
nixpkgs-e590c0a867e84f3bdf59ff596b763c1d40d3f77f.tar.gz
nixpkgs-e590c0a867e84f3bdf59ff596b763c1d40d3f77f.tar.bz2
nixpkgs-e590c0a867e84f3bdf59ff596b763c1d40d3f77f.tar.lz
nixpkgs-e590c0a867e84f3bdf59ff596b763c1d40d3f77f.tar.xz
nixpkgs-e590c0a867e84f3bdf59ff596b763c1d40d3f77f.tar.zst
nixpkgs-e590c0a867e84f3bdf59ff596b763c1d40d3f77f.zip
ats/ats2: clean-up, adopt, add Hydra packages
This also bumps ATS2 to version 0.0.7

Signed-off-by: Austin Seipp <aseipp@pobox.com>
-rw-r--r--pkgs/development/compilers/ats/default.nix36
-rw-r--r--pkgs/development/compilers/ats2/default.nix17
2 files changed, 18 insertions, 35 deletions
diff --git a/pkgs/development/compilers/ats/default.nix b/pkgs/development/compilers/ats/default.nix
index a5ed478a879..6f15c0599ef 100644
--- a/pkgs/development/compilers/ats/default.nix
+++ b/pkgs/development/compilers/ats/default.nix
@@ -1,41 +1,23 @@
 { stdenv, fetchurl, gmp }:
 
-let version = "0.2.11"; in stdenv.mkDerivation {
-  name = "ats-anairiats-${version}";
+stdenv.mkDerivation rec {
+  name    = "ats-${version}";
+  version = "0.2.11";
 
   src = fetchurl {
     url = "mirror://sourceforge/ats-lang/ats-lang-anairiats-${version}.tgz";
     sha256 = "0rqykyx5whichx85jr4l4c9fdan0qsdd4kwd7a81k3l07zbd9fc6";
   };
+
   # this is necessary because atxt files usually include some .hats files
   patches = [ ./install-atsdoc-hats-files.patch ];
-
   buildInputs = [ gmp ];
 
   meta = {
-    description = "A statically typed programming language that unifies implementation with formal specification";
-    homepage = http://www.ats-lang.org/;
-    license = stdenv.lib.licenses.gpl3Plus;
-    longDescription =
-      ''        
-        ATS is a programming language with a highly expressive type system
-	rooted in the framework Applied Type System. In particular, both
-	dependent types and linear types are available in ATS. The current
-	implementation of ATS (ATS/Anairiats) is written in ATS itself. It can
-	be as efficient as C/C++ and supports a variety of programming
-	paradigms.
-
-	In addition, ATS contains a component ATS/LF that supports a form of
-	(interactive) theorem proving, where proofs are constructed as total
-	functions. With this component, ATS advocates a programming style that
-	combines programming with theorem proving. Furthermore, this component
-	may be used as a logical framework to encode various deduction systems
-	and their (meta-)properties.
-
-	This package contains the compiler atsopt, the frontend atscc,
-	and the lexer atslex.
-      '';
+    description = "Functional programming language with dependent types";
+    homepage    = "http://www.ats-lang.org";
+    license     = stdenv.lib.licenses.gpl3Plus;
+    platforms   = stdenv.lib.platforms.unix;
+    maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
   };
-
-  platforms = stdenv.lib.platforms.all;
 }
diff --git a/pkgs/development/compilers/ats2/default.nix b/pkgs/development/compilers/ats2/default.nix
index c1c71b0dfe2..1f6a8b6c6e0 100644
--- a/pkgs/development/compilers/ats2/default.nix
+++ b/pkgs/development/compilers/ats2/default.nix
@@ -1,20 +1,21 @@
 { stdenv, fetchurl, gmp }:
 
-let version = "0.0.6"; in stdenv.mkDerivation {
-  name = "ats2-postiats-${version}";
+stdenv.mkDerivation rec {
+  name    = "ats2-${version}";
+  version = "0.0.7";
 
   src = fetchurl {
     url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz";
-    sha256 = "110a4drzf656j9s5yfvxj1cwgh5g9ysnh40cv8y9qfjjkki8vd5b";
+    sha256 = "1cv7caaf9fj6z3kln02ikkbmcy42324v39lzx3cf6qcsywwpm8fx";
   };
 
   buildInputs = [ gmp ];
 
   meta = {
-    description = "A statically typed programming language that unifies implementation with formal specification";
-    homepage = http://www.ats-lang.org/;
-    license = stdenv.lib.licenses.gpl3Plus;
+    description = "Functional programming language with dependent types";
+    homepage    = "http://www.ats-lang.org";
+    license     = stdenv.lib.licenses.gpl3Plus;
+    platforms   = stdenv.lib.platforms.unix;
+    maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
   };
-
-  platforms = stdenv.lib.platforms.all;
 }