Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
932 B
Nix
52 lines
932 B
Nix
{
|
|
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;
|
|
};
|
|
})
|