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
|
|
|
|
name = "wxmaxima";
|
2011-02-07 12:35:42 +01:00
|
|
|
version = "0.8.7";
|
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-02-07 12:35:42 +01:00
|
|
|
sha256 = "40e792eb27866ae68e3b3fa67983518fd0274eaad314e6ba709cb1f972204157";
|
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
|
|
|
};
|
|
|
|
}
|