21 lines
496 B
Nix
21 lines
496 B
Nix
{ stdenv, fetchurl, gmp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cln-${version}";
|
|
version = "1.3.4";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}${name}.tar.bz2";
|
|
sha256 = "0j5p18hwbbrchsdbnc8d2bf9ncslhflri4i950gdnq7v6g2dg69d";
|
|
};
|
|
|
|
buildInputs = [ gmp ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C/C++ library for numbers, a part of GiNaC";
|
|
homepage = http://www.ginac.de/CLN/;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix; # Once had cygwin problems
|
|
};
|
|
}
|