mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #255313 from kilianar/mpsolve-init
mpsolve: init at 3.2.1
This commit is contained in:
commit
00207520f9
@ -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";
|
||||
|
39
pkgs/applications/science/math/mpsolve/default.nix
Normal file
39
pkgs/applications/science/math/mpsolve/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user