2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, gmp }:
|
2010-08-15 13:54:27 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "cln";
|
2019-12-23 07:29:35 +00:00
|
|
|
version = "1.3.6";
|
2010-08-15 13:54:27 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "${meta.homepage}${pname}-${version}.tar.bz2";
|
2019-12-23 07:29:35 +00:00
|
|
|
sha256 = "0jlq9l4hphk7qqlgqj9ihjp4m3rwjbhk6q4v00lsbgbri07574pl";
|
2010-08-15 13:54:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gmp ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2010-08-15 13:54:27 +00:00
|
|
|
description = "C/C++ library for numbers, a part of GiNaC";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.ginac.de/CLN/";
|
2018-09-30 09:15:47 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix; # Once had cygwin problems
|
2010-08-15 13:54:27 +00:00
|
|
|
};
|
|
|
|
}
|