Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
537 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
gccStdenv,
fetchurl,
gmp,
}:
gccStdenv.mkDerivation rec {
pname = "cln";
version = "1.3.7";
src = fetchurl {
url = "${meta.homepage}${pname}-${version}.tar.bz2";
sha256 = "sha256-fH7YR0lYM35N9btX6lF2rQNlAEy7mLYhdlvEYGoQ2Gs=";
};
buildInputs = [ gmp ];
meta = with lib; {
description = "C/C++ library for numbers, a part of GiNaC";
mainProgram = "pi";
homepage = "https://www.ginac.de/CLN/";
license = licenses.gpl2;
platforms = platforms.unix; # Once had cygwin problems
};
}