nixpkgs/pkgs/development/libraries/cln/default.nix

21 lines
499 B
Nix
Raw Normal View History

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