mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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:
parent
52a4a7c3bb
commit
77cc63950a
1 changed files with 2 additions and 4 deletions
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue