forked from mirrors/nixpkgs
wxmaxima: 22.05.0 -> 22.12.0
This commit is contained in:
parent
0792676d67
commit
89d4b2b4df
|
@ -7,17 +7,18 @@
|
||||||
, maxima
|
, maxima
|
||||||
, wxGTK
|
, wxGTK
|
||||||
, gnome
|
, gnome
|
||||||
|
, glib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wxmaxima";
|
pname = "wxmaxima";
|
||||||
version = "22.05.0";
|
version = "22.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wxMaxima-developers";
|
owner = "wxMaxima-developers";
|
||||||
repo = "wxmaxima";
|
repo = "wxmaxima";
|
||||||
rev = "Version-${version}";
|
rev = "Version-${version}";
|
||||||
sha256 = "sha256-pcKnEjJmvMXCBpjtOSLyl4I0x3fjh0os9Sdp39I2Re0=";
|
sha256 = "sha256-RT6y4M6LQD1fXJcjtdSXnDmoJvv160g2asdV4WtTcok=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -25,6 +26,8 @@ stdenv.mkDerivation rec {
|
||||||
maxima
|
maxima
|
||||||
# So it won't embed svg files into headers.
|
# So it won't embed svg files into headers.
|
||||||
gnome.adwaita-icon-theme
|
gnome.adwaita-icon-theme
|
||||||
|
# So it won't crash under Sway.
|
||||||
|
glib
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -33,6 +36,10 @@ stdenv.mkDerivation rec {
|
||||||
gettext
|
gettext
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DwxWidgets_LIBRARIES=${wxGTK}/lib"
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
gappsWrapperArgs+=(--prefix PATH ":" ${maxima}/bin)
|
gappsWrapperArgs+=(--prefix PATH ":" ${maxima}/bin)
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -36556,7 +36556,9 @@ with pkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
wxmaxima = callPackage ../applications/science/math/wxmaxima {
|
wxmaxima = callPackage ../applications/science/math/wxmaxima {
|
||||||
wxGTK = wxGTK32;
|
wxGTK = wxGTK32.override {
|
||||||
|
withWebKit = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pari = callPackage ../applications/science/math/pari { tex = texlive.combined.scheme-basic; };
|
pari = callPackage ../applications/science/math/pari { tex = texlive.combined.scheme-basic; };
|
||||||
|
|
Loading…
Reference in a new issue