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 5 }: 6 7 - mkDerivation { 8 pname = "mathmod"; 9 version = "11.1-unstable-2024-01-26"; 10 ··· 21 substituteInPlace MathMod.pro --subst-var out 22 ''; 23 24 - nativeBuildInputs = [ qmake ]; 25 26 meta = { 27 description = "Mathematical modelling software";
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + libsForQt5, 6 }: 7 8 + stdenv.mkDerivation { 9 pname = "mathmod"; 10 version = "11.1-unstable-2024-01-26"; 11 ··· 22 substituteInPlace MathMod.pro --subst-var out 23 ''; 24 25 + nativeBuildInputs = with libsForQt5; [ 26 + qmake 27 + wrapQtAppsHook 28 + ]; 29 30 meta = { 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 cudaSupport = true; 36488 }; 36489 36490 - mathmod = libsForQt5.callPackage ../applications/science/math/mathmod { }; 36491 - 36492 metis = callPackage ../development/libraries/science/math/metis { }; 36493 36494 nauty = callPackage ../applications/science/math/nauty { };
··· 36487 cudaSupport = true; 36488 }; 36489 36490 metis = callPackage ../development/libraries/science/math/metis { }; 36491 36492 nauty = callPackage ../applications/science/math/nauty { };