wxmaxima: build with cmake

Fixes reported version number: see
https://github.com/NixOS/nixpkgs/pull/31657#issuecomment-354414642

"make check" did not run any tests with autotools, and is not defined with
cmake. ("make test" is not defined too.)
This commit is contained in:
Orivej Desh 2017-12-29 20:57:12 +00:00
parent 52a4a7c3bb
commit 77cc63950a

View file

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub { stdenv, fetchFromGitHub
, wrapGAppsHook, autoreconfHook, gettext , wrapGAppsHook, cmake, gettext
, maxima, wxGTK, gnome3 }: , maxima, wxGTK, gnome3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -15,14 +15,12 @@ stdenv.mkDerivation rec {
buildInputs = [ wxGTK maxima gnome3.defaultIconTheme ]; buildInputs = [ wxGTK maxima gnome3.defaultIconTheme ];
nativeBuildInputs = [ wrapGAppsHook autoreconfHook gettext ]; nativeBuildInputs = [ wrapGAppsHook cmake gettext ];
preConfigure = '' preConfigure = ''
gappsWrapperArgs+=(--prefix PATH ":" ${maxima}/bin) gappsWrapperArgs+=(--prefix PATH ":" ${maxima}/bin)
''; '';
doCheck = true;
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {