2023-03-24 00:07:29 +00:00
|
|
|
{ lib, gccStdenv, fetchurl, gmp }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
gccStdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "cln";
|
|
|
|
version = "1.3.6";
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
src = fetchurl {
|
2020-04-24 23:36:52 +00:00
|
|
|
url = "${meta.homepage}${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "0jlq9l4hphk7qqlgqj9ihjp4m3rwjbhk6q4v00lsbgbri07574pl";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gmp ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C/C++ library for numbers, a part of GiNaC";
|
|
|
|
homepage = "https://www.ginac.de/CLN/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix; # Once had cygwin problems
|
|
|
|
};
|
|
|
|
}
|