2016-10-10 15:55:47 +01:00
|
|
|
{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook
|
|
|
|
, gmp, mpfr
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "fplll";
|
2018-05-24 15:36:18 +01:00
|
|
|
version = "5.2.1";
|
2016-10-10 15:55:47 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "${pname}";
|
|
|
|
repo = "${pname}";
|
|
|
|
rev = "${version}";
|
2018-05-24 15:36:18 +01:00
|
|
|
sha256 = "015qmrd7nfaysbv1hbwiprz9g6hnww1y1z1xw8f43ysb7k1b5nbg";
|
2016-10-10 15:55:47 +01:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook];
|
|
|
|
buildInputs = [gmp mpfr];
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''Lattice algorithms using floating-point arithmetic'';
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|