2017-11-14 03:25:48 -08:00
|
|
|
{ stdenv, fetchFromGitHub
|
2017-12-29 12:57:12 -08:00
|
|
|
, wrapGAppsHook, cmake, gettext
|
2017-11-14 03:25:48 -08:00
|
|
|
, maxima, wxGTK, gnome3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "wxmaxima";
|
2020-07-07 12:22:28 -07:00
|
|
|
version = "20.06.6";
|
2017-11-14 03:25:48 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-03-11 09:07:53 -07:00
|
|
|
owner = "wxMaxima-developers";
|
2017-11-14 03:25:48 -08:00
|
|
|
repo = "wxmaxima";
|
|
|
|
rev = "Version-${version}";
|
2020-07-07 12:22:28 -07:00
|
|
|
sha256 = "054f7n5kx75ng5j20rd5q27n9xxk03mrd7sbxyym1lsswzimqh4w";
|
2009-10-29 04:57:58 -07:00
|
|
|
};
|
|
|
|
|
2019-02-13 13:47:50 -08:00
|
|
|
buildInputs = [ wxGTK maxima gnome3.adwaita-icon-theme ];
|
2017-11-14 03:25:48 -08:00
|
|
|
|
2017-12-29 12:57:12 -08:00
|
|
|
nativeBuildInputs = [ wrapGAppsHook cmake gettext ];
|
2011-07-13 02:56:58 -07:00
|
|
|
|
2017-11-14 03:25:48 -08:00
|
|
|
preConfigure = ''
|
|
|
|
gappsWrapperArgs+=(--prefix PATH ":" ${maxima}/bin)
|
2011-07-13 02:56:58 -07:00
|
|
|
'';
|
|
|
|
|
2017-11-14 03:25:48 -08:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 02:49:53 -07:00
|
|
|
description = "Cross platform GUI for the computer algebra system Maxima";
|
2017-11-14 03:25:48 -08:00
|
|
|
license = licenses.gpl2;
|
2020-03-11 09:07:53 -07:00
|
|
|
homepage = "https://wxmaxima-developers.github.io/wxmaxima/";
|
2017-11-14 03:25:48 -08:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.peti ];
|
2009-10-29 04:57:58 -07:00
|
|
|
};
|
|
|
|
}
|