Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
932 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
bison,
flex,
gitUpdater,
gmp,
gtk3,
pkg-config,
qtbase,
wrapQtAppsHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mpsolve";
version = "3.2.2";
src = fetchFromGitHub {
owner = "robol";
repo = "MPSolve";
rev = "de7ebfc7afc4834a0c9f92a04be7abdf5943d446";
hash = "sha256-BGXvNxWUbto0yMIpEIxZ9wOYv9w0ev4OgVcniNYIKoU=";
};
nativeBuildInputs = [
autoreconfHook
bison
flex
pkg-config
wrapQtAppsHook
];
buildInputs = [
gmp
gtk3
qtbase
];
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://numpi.dm.unipi.it/scientific-computing-libraries/mpsolve/";
description = "Multiprecision Polynomial Solver";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ kilianar ];
mainProgram = "mpsolve";
platforms = lib.platforms.linux;
};
})