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