depot/third_party/nixpkgs/pkgs/applications/science/math/mpsolve/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

39 lines
781 B
Nix

{ lib
, stdenv
, fetchurl
, gmp
, pkg-config
, qtbase
, wrapQtAppsHook
, gtk3
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mpsolve";
version = "3.2.1";
src = fetchurl {
url = "https://numpi.dm.unipi.it/_media/software/mpsolve/mpsolve-${finalAttrs.version}.tar.gz";
hash = "sha256-PRFCiumrLgIPJMq/vNnk2bIuxXLPcK8NRP6Nrh1R544=";
};
nativeBuildInputs = [
pkg-config
wrapQtAppsHook
];
buildInputs = [
gmp
gtk3
qtbase
];
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;
};
})