Files
nixpkgs/pkgs/by-name/so/sollya/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

44 lines
808 B
Nix

{
lib,
stdenv,
fetchurl,
gmp,
mpfr,
mpfi,
libxml2,
fplll,
}:
stdenv.mkDerivation rec {
pname = "sollya";
version = "8.0";
src = fetchurl {
url = "https://www.sollya.org/releases/sollya-${version}/sollya-${version}.tar.gz";
sha256 = "sha256-WNc0+aL8jmczwR+W0t+aslvvJNccQBIw4p8KEzmoEZI=";
};
buildInputs = [
gmp
mpfr
mpfi
libxml2
fplll
];
configureFlags = [
"--with-xml2-config=${lib.getExe' (lib.getDev libxml2) "xml2-config"}"
];
doCheck = true;
meta = with lib; {
description = "Tool environment for safe floating-point code development";
mainProgram = "sollya";
homepage = "https://www.sollya.org/";
license = licenses.cecill-c;
platforms = platforms.unix;
maintainers = with maintainers; [ wegank ];
};
}