mathmod: move to pkgs/by-name

+10 -8
+10 -6
pkgs/applications/science/math/mathmod/default.nix pkgs/by-name/ma/mathmod/package.nix
··· 1 - { lib 2 - , mkDerivation 3 - , fetchFromGitHub 4 - , qmake 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + libsForQt5, 5 6 }: 6 7 7 - mkDerivation { 8 + stdenv.mkDerivation { 8 9 pname = "mathmod"; 9 10 version = "11.1-unstable-2024-01-26"; 10 11 ··· 21 22 substituteInPlace MathMod.pro --subst-var out 22 23 ''; 23 24 24 - nativeBuildInputs = [ qmake ]; 25 + nativeBuildInputs = with libsForQt5; [ 26 + qmake 27 + wrapQtAppsHook 28 + ]; 25 29 26 30 meta = { 27 31 description = "Mathematical modelling software";
pkgs/applications/science/math/mathmod/fix-paths.patch pkgs/by-name/ma/mathmod/fix-paths.patch
-2
pkgs/top-level/all-packages.nix
··· 36487 36487 cudaSupport = true; 36488 36488 }; 36489 36489 36490 - mathmod = libsForQt5.callPackage ../applications/science/math/mathmod { }; 36491 - 36492 36490 metis = callPackage ../development/libraries/science/math/metis { }; 36493 36491 36494 36492 nauty = callPackage ../applications/science/math/nauty { };