8 stdenv.mkDerivation (finalAttrs: {
12 src = fetchFromGitHub {
15 rev = "refs/tags/${finalAttrs.version}";
16 hash = "sha256-h1iI7bheJVfE2+0m6Yk7QNCkl9Vye97tqb/WkQExVcQ=";
19 patches = [ ./fix-paths.patch ];
22 substituteInPlace MathMod.pro --subst-var out
25 nativeBuildInputs = with libsForQt5; [
31 changelog = "https://github.com/parisolab/mathmod/releases/tag/${finalAttrs.version}";
32 description = "Mathematical modelling software";
33 homepage = "https://github.com/parisolab/mathmod";
34 license = lib.licenses.gpl2Plus;
35 mainProgram = "MathMod";
36 maintainers = with lib.maintainers; [ tomasajt ];
37 platforms = lib.platforms.unix;