Merge pull request #255313 from kilianar/mpsolve-init

mpsolve: init at 3.2.1
This commit is contained in:
Mario Rodas 2023-09-16 07:48:28 -05:00 committed by GitHub
commit 00207520f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 0 deletions

View File

@ -9088,6 +9088,12 @@
githubId = 845652;
name = "Kier Davis";
};
kilianar = {
email = "mail@kilianar.de";
github = "kilianar";
githubId = 105428155;
name = "kilianar";
};
kilimnik = {
email = "mail@kilimnik.de";
github = "kilimnik";

View File

@ -0,0 +1,39 @@
{ 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;
};
})

View File

@ -1291,6 +1291,8 @@ with pkgs;
mokutil = callPackage ../tools/security/mokutil { };
mpsolve = libsForQt5.callPackage ../applications/science/math/mpsolve { };
nixBufferBuilders = import ../build-support/emacs/buffer.nix { inherit lib writeText; inherit (emacs.pkgs) inherit-local; };
nix-gitignore = callPackage ../build-support/nix-gitignore { };