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