Author: viric
Date: Mon Aug  9 21:58:21 2010
New Revision: 23074
URL: https://svn.nixos.org/websvn/nix/?rev=23074&sc=1

Log:
Adding 'yacas', a CAS implemented in C++.

Added:
   nixpkgs/trunk/pkgs/applications/science/math/yacas/
   nixpkgs/trunk/pkgs/applications/science/math/yacas/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/applications/science/math/yacas/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/science/math/yacas/default.nix      Mon Aug 
 9 21:58:21 2010        (r23074)
@@ -0,0 +1,23 @@
+{stdenv, fetchurl, perl}: 
+
+stdenv.mkDerivation rec {
+  name = "yacas-1.2.2";
+
+  src = fetchurl {
+    url = "http://yacas.sourceforge.net/backups/${name}.tar.gz";;
+    sha256 = "1dmafm3w0lm5w211nwkfzaid1rvvmgskz7k4500pjhgdczi5sd78";
+  };
+
+  # Perl is only for the documentation
+  buildInputs = [ perl ];
+
+  patches = [ ./gcc43.patch ];
+
+  meta = { 
+      description = "Easy to use, general purpose Computer Algebra System";
+      homepage = http://yacas.sourceforge.net/;
+      license = "GPLv2+";
+      maintainers = with stdenv.lib.maintainers; [viric];
+      platforms = with stdenv.lib.platforms; all;
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Aug  9 21:37:31 
2010        (r23073)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Aug  9 21:58:21 
2010        (r23074)
@@ -6710,6 +6710,8 @@
     withX = true;
   };
 
+  yacas = callPackage ../applications/science/math/yacas { };
+
   ### SCIENCE / MISC
 
   golly = callPackage ../applications/science/misc/golly { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to