2021-03-09 12:11:52 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, gmp
|
|
|
|
, mpfr
|
|
|
|
, mpfi
|
|
|
|
, libxml2
|
|
|
|
, fplll
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sollya";
|
2022-04-03 19:03:03 +00:00
|
|
|
version = "8.0";
|
2021-03-09 12:11:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.sollya.org/releases/sollya-${version}/sollya-${version}.tar.gz";
|
2022-04-03 19:03:03 +00:00
|
|
|
sha256 = "sha256-WNc0+aL8jmczwR+W0t+aslvvJNccQBIw4p8KEzmoEZI=";
|
2021-03-09 12:11:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gmp mpfr mpfi libxml2 fplll ];
|
|
|
|
|
2022-06-27 03:00:18 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-03-09 12:11:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool environment for safe floating-point code development";
|
|
|
|
homepage = "https://www.sollya.org/";
|
|
|
|
license = licenses.cecill-c;
|
2022-06-27 03:00:18 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wegank ];
|
2021-03-09 12:11:52 +00:00
|
|
|
};
|
|
|
|
}
|