summary refs log tree commit diff
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-09 21:58:21 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-08-09 21:58:21 +0000
commit9cba74c95a7abae704c069451577cd4f36c43a66 (patch)
treed6f56eb1523b0c7ff9c3c84d08545b6a4ed2f9f3
parent153577d0f3511dd7e81641f64c3424b07a73d17b (diff)
downloadnixpkgs-9cba74c95a7abae704c069451577cd4f36c43a66.tar
nixpkgs-9cba74c95a7abae704c069451577cd4f36c43a66.tar.gz
nixpkgs-9cba74c95a7abae704c069451577cd4f36c43a66.tar.bz2
nixpkgs-9cba74c95a7abae704c069451577cd4f36c43a66.tar.lz
nixpkgs-9cba74c95a7abae704c069451577cd4f36c43a66.tar.xz
nixpkgs-9cba74c95a7abae704c069451577cd4f36c43a66.tar.zst
nixpkgs-9cba74c95a7abae704c069451577cd4f36c43a66.zip
Adding 'yacas', a CAS implemented in C++.
svn path=/nixpkgs/trunk/; revision=23074
-rw-r--r--pkgs/applications/science/math/yacas/default.nix23
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/yacas/default.nix b/pkgs/applications/science/math/yacas/default.nix
new file mode 100644
index 00000000000..148e95acee0
--- /dev/null
+++ b/pkgs/applications/science/math/yacas/default.nix
@@ -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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index b038db428be..2548c81d778 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6710,6 +6710,8 @@ let
     withX = true;
   };
 
+  yacas = callPackage ../applications/science/math/yacas { };
+
   ### SCIENCE / MISC
 
   golly = callPackage ../applications/science/misc/golly { };