summary refs log tree commit diff
path: root/pkgs/applications/science/math/wxmaxima
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-10-29 12:53:22 +0000
committerPeter Simons <simons@cryp.to>2009-10-29 12:53:22 +0000
commit7fa0d739666356b04d03ebfd7d834d1c981ff05d (patch)
treee9d98b5db0db57f6a966d319bf504b764e9a94b6 /pkgs/applications/science/math/wxmaxima
parentd330b000fc7e26786839e370c87e0299af67bec6 (diff)
downloadnixlib-7fa0d739666356b04d03ebfd7d834d1c981ff05d.tar
nixlib-7fa0d739666356b04d03ebfd7d834d1c981ff05d.tar.gz
nixlib-7fa0d739666356b04d03ebfd7d834d1c981ff05d.tar.bz2
nixlib-7fa0d739666356b04d03ebfd7d834d1c981ff05d.tar.lz
nixlib-7fa0d739666356b04d03ebfd7d834d1c981ff05d.tar.xz
nixlib-7fa0d739666356b04d03ebfd7d834d1c981ff05d.tar.zst
nixlib-7fa0d739666356b04d03ebfd7d834d1c981ff05d.zip
pkgs/applications/science/math/wxmaxima/default.nix: cosmetic changes
Note that wxMaxima does *not* have a proper store path to maxima built
into the binary. It relies on $PATH, /etc/wxMaxima.conf, or ~/.wxMaxima
to find the binary.

svn path=/nixpkgs/trunk/; revision=18020
Diffstat (limited to 'pkgs/applications/science/math/wxmaxima')
-rw-r--r--pkgs/applications/science/math/wxmaxima/default.nix36
1 files changed, 4 insertions, 32 deletions
diff --git a/pkgs/applications/science/math/wxmaxima/default.nix b/pkgs/applications/science/math/wxmaxima/default.nix
index 04cab117c81c..403105aaaa7f 100644
--- a/pkgs/applications/science/math/wxmaxima/default.nix
+++ b/pkgs/applications/science/math/wxmaxima/default.nix
@@ -1,5 +1,9 @@
 { stdenv, fetchurl, maxima, wxGTK }:
 
+# 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.
+
 let
     name    = "wxmaxima";
     version = "0.8.3";
@@ -19,35 +23,3 @@ stdenv.mkDerivation {
     homepage = http://wxmaxima.sourceforge.net;
   };
 }
-
-# # $Id: PKGBUILD,v 1.10 2008/05/13 19:03:39 ronald Exp $
-# # Maintainer: Ronald van Haren <ronald.archlinux.org>
-# # Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
-# # Contributor: Vinay S Shastry <vinayshastry@gmail.com>
-
-# pkgname=wxmaxima
-# pkgver=0.8.3
-# pkgrel=1
-# pkgdesc="A
-# arch=('i686' 'x86_64')
-# url="http://wxmaxima.sourceforge.net/"
-# license=('GPL2')
-# depends=('maxima>=5.18.1' 'libxml2>=2.7.3' 'wxgtk>=2.8.10.1')
-# source=(http://downloads.sourceforge.net/$pkgname/wxMaxima-$pkgver.tar.gz)
-# md5sums=('341913b9d54f24b796a50a3167b4d9b2')
-
-# build() {
-#   cd "${srcdir}/wxMaxima-${pkgver}"
-#   ./configure --prefix=/usr || return 1
-#   make || return 1
-#   make DESTDIR="${pkgdir}" install || return 1
-
-#   # Fix category in .desktop file
-#   sed -i -e 's/Utility;X-Red-Hat-Base;X-Red-Hat-Base-Only;/Science;Math;/' wxmaxima.desktop
-
-#   # Install desktop file and icon
-#   install -m755 -d "${pkgdir}/usr/share/applications"
-#   install -m755 -d "${pkgdir}/usr/share/pixmaps"
-#   install -m644 wxmaxima.desktop "${pkgdir}/usr/share/applications/" || return 1
-#   install -m644 data/wxmaxima.png "${pkgdir}/usr/share/pixmaps/" || return 1
-# }