Merge pull request #31657 from Mic92/wxmaxima
wxmaxima: 15.04.0 -> 17.10.1
This commit is contained in:
commit
12c922d78d
@ -1,35 +1,35 @@
|
|||||||
{ stdenv, fetchurl, maxima, wxGTK, makeWrapper }:
|
{ stdenv, fetchFromGitHub
|
||||||
|
, wrapGAppsHook, autoreconfHook, gettext
|
||||||
|
, maxima, wxGTK, gnome3 }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
name = "wxmaxima";
|
name = "wxmaxima-${version}";
|
||||||
version = "15.04.0";
|
version = "17.10.1";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "${name}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/${name}/wxMaxima/${version}/wxmaxima-${version}.tar.gz";
|
owner = "andrejv";
|
||||||
sha256 = "1fm47ah4aw5qdjqhkz67w5fwhy8yfffa5z896crp0d3hk2bh4180";
|
repo = "wxmaxima";
|
||||||
|
rev = "Version-${version}";
|
||||||
|
sha256 = "088h8dlc9chkppwl4ck9i0fgf2d1dcpi5kq8qbpr5w75vhwsb6qm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [wxGTK maxima makeWrapper];
|
buildInputs = [ wxGTK maxima gnome3.defaultIconTheme ];
|
||||||
|
|
||||||
postInstall = ''
|
nativeBuildInputs = [ wrapGAppsHook autoreconfHook gettext ];
|
||||||
# Make sure that wxmaxima can find its runtime dependencies.
|
|
||||||
for prog in "$out/bin/"*; do
|
preConfigure = ''
|
||||||
wrapProgram "$prog" --prefix PATH ":" "${maxima}/bin"
|
gappsWrapperArgs+=(--prefix PATH ":" ${maxima}/bin)
|
||||||
done
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Cross platform GUI for the computer algebra system Maxima";
|
description = "Cross platform GUI for the computer algebra system Maxima";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
homepage = http://wxmaxima.sourceforge.net;
|
homepage = http://wxmaxima.sourceforge.net;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ stdenv.lib.maintainers.peti ];
|
maintainers = [ maintainers.peti ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user