2009-10-29 12:57:58 +01:00
|
|
|
{ stdenv, fetchurl, maxima, wxGTK }:
|
|
|
|
|
2009-10-29 13:53:22 +01:00
|
|
|
# TODO: Build the correct ${maxima}/bin/maxima store path into wxMaxima so that
|
|
|
|
# it can run that binary without relying on $PATH, /etc/wxMaxima.conf, or
|
|
|
|
# ~/.wxMaxima.
|
|
|
|
|
2009-10-29 12:57:58 +01:00
|
|
|
let
|
2011-05-06 09:35:22 +02:00
|
|
|
name = "wxmaxima";
|
|
|
|
version = "11.04.0";
|
2009-10-29 12:57:58 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${name}/wxMaxima-${version}.tar.gz";
|
2011-05-06 09:35:22 +02:00
|
|
|
sha256 = "1dfwh5ka125wr6wxzyiwz16lk8kaf09rb6lldzryjwh8zi7yw8dm";
|
2009-10-29 12:57:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [maxima wxGTK];
|
|
|
|
|
|
|
|
meta = {
|
2010-08-26 13:53:17 +02:00
|
|
|
description = "Cross platform GUI for the computer algebra system Maxima.";
|
|
|
|
license = "GPL2";
|
2009-10-29 12:57:58 +01:00
|
|
|
homepage = http://wxmaxima.sourceforge.net;
|
2010-08-26 13:53:17 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2009-10-29 12:57:58 +01:00
|
|
|
};
|
|
|
|
}
|