Unverified Commit 9db55309 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

mathmod: 11.1-unstable-2024-01-26 -> 12.0, move to pkgs/by-name (#345378)

parents d80f110d 3bd63480
Loading
Loading
Loading
Loading
+15 −10
Original line number Diff line number Diff line
{ lib
, mkDerivation
, fetchFromGitHub
, qmake
{
  lib,
  stdenv,
  fetchFromGitHub,
  libsForQt5,
}:

mkDerivation {
stdenv.mkDerivation (finalAttrs: {
  pname = "mathmod";
  version = "11.1-unstable-2024-01-26";
  version = "12.0";

  src = fetchFromGitHub {
    owner = "parisolab";
    repo = "mathmod";
    rev = "24d03a04c17363520ae7cf077e72a7b8684eb6fd";
    hash = "sha256-HiqHssPGqYEVZWchZRj4rFPc+xNVZk1ryl5qvFC2BmQ=";
    rev = "refs/tags/${finalAttrs.version}";
    hash = "sha256-h1iI7bheJVfE2+0m6Yk7QNCkl9Vye97tqb/WkQExVcQ=";
  };

  patches = [ ./fix-paths.patch ];
@@ -21,9 +22,13 @@ mkDerivation {
    substituteInPlace MathMod.pro --subst-var out
  '';

  nativeBuildInputs = [ qmake ];
  nativeBuildInputs = with libsForQt5; [
    qmake
    wrapQtAppsHook
  ];

  meta = {
    changelog = "https://github.com/parisolab/mathmod/releases/tag/${finalAttrs.version}";
    description = "Mathematical modelling software";
    homepage = "https://github.com/parisolab/mathmod";
    license = lib.licenses.gpl2Plus;
@@ -31,4 +36,4 @@ mkDerivation {
    maintainers = with lib.maintainers; [ tomasajt ];
    platforms = lib.platforms.unix;
  };
}
})
+0 −2
Original line number Diff line number Diff line
@@ -36410,8 +36410,6 @@ with pkgs;
    cudaSupport = true;
  };
  mathmod = libsForQt5.callPackage ../applications/science/math/mathmod { };
  metis = callPackage ../development/libraries/science/math/metis { };
  nauty = callPackage ../applications/science/math/nauty { };