2022-02-28 21:56:04 +00:00
|
|
|
{ lib, stdenv, fetchgit, 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
|
|
|
|
2022-02-28 21:56:04 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://www.ginac.de/cln.git";
|
|
|
|
rev = "cln_${builtins.replaceStrings [ "." ] [ "-" ] version}";
|
|
|
|
sha256 = "sha256-P32F4TIDhE2Dwzydq8iFK6ch3kICJcXeeXHs5PBQG88=";
|
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
|
|
|
};
|
|
|
|
}
|