mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
c86e037939
svn path=/nixpkgs/trunk/; revision=30774
36 lines
889 B
Nix
36 lines
889 B
Nix
{ stdenv, fetchurl, maxima, wxGTK, makeWrapper }:
|
|
|
|
let
|
|
name = "wxmaxima";
|
|
version = "11.08.0";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "${name}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${name}/wxMaxima-${version}.tar.gz";
|
|
sha256 = "dfa25cc15de52829a93da624d42344213cc979351b5fcd3dff2afed6738832df";
|
|
};
|
|
|
|
buildInputs = [wxGTK maxima makeWrapper];
|
|
|
|
postInstall = ''
|
|
# Make sure that wxmaxima can find its runtime dependencies.
|
|
for prog in "$out/bin/"*; do
|
|
wrapProgram "$prog" --prefix PATH ":" "${maxima}/bin"
|
|
done
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Cross platform GUI for the computer algebra system Maxima.";
|
|
license = "GPL2";
|
|
homepage = http://wxmaxima.sourceforge.net;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
};
|
|
}
|