lol

maxima: use strictDeps and python3

+15 -6
+15 -6
pkgs/applications/science/math/maxima/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python, makeWrapper, autoreconfHook 1 + { lib, stdenv, fetchurl, fetchpatch, sbcl, texinfo, perl, python3, makeWrapper, autoreconfHook 2 2 , rlwrap ? null, tk ? null, gnuplot ? null, ecl ? null, ecl-fasl ? false 3 3 }: 4 4 ··· 6 6 name = "maxima"; 7 7 version = "5.44.0"; 8 8 9 + lisp-compiler = if ecl-fasl then ecl else sbcl; 10 + 9 11 searchPath = 10 12 lib.makeBinPath 11 - (lib.filter (x: x != null) [ sbcl ecl rlwrap tk gnuplot ]); 13 + (lib.filter (x: x != null) [ lisp-compiler rlwrap tk gnuplot ]); 12 14 in 13 15 stdenv.mkDerivation ({ 14 16 inherit version; ··· 19 21 sha256 = "1v6jr5s6hhj6r18gfk6hgxk2qd6z1dxkrjq9ss2z1y6sqi45wgyr"; 20 22 }; 21 23 22 - nativeBuildInputs = [ autoreconfHook ]; 24 + nativeBuildInputs = [ 25 + autoreconfHook 26 + lisp-compiler 27 + makeWrapper 28 + python3 29 + texinfo 30 + ]; 23 31 24 - buildInputs = lib.filter (x: x != null) [ 25 - sbcl ecl texinfo perl python makeWrapper 26 - gnuplot # required in the test suite 32 + strictDeps = true; 33 + 34 + checkInputs = [ 35 + gnuplot 27 36 ]; 28 37 29 38 postPatch = ''