about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/cln/default.nix
blob: a7094d18e6ead2508ac940e51a0119e98054f044 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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";
    homepage = "https://www.ginac.de/CLN/";
    license = licenses.gpl2;
    platforms = platforms.unix; # Once had cygwin problems
  };
}