1{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook
2, gmp, mpfr
3}:
4stdenv.mkDerivation rec {
5 name = "${pname}-${version}";
6 pname = "fplll";
7 version = "5.2.1";
8 src = fetchFromGitHub {
9 owner = "${pname}";
10 repo = "${pname}";
11 rev = "${version}";
12 sha256 = "015qmrd7nfaysbv1hbwiprz9g6hnww1y1z1xw8f43ysb7k1b5nbg";
13 };
14 nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook];
15 buildInputs = [gmp mpfr];
16 meta = {
17 inherit version;
18 description = ''Lattice algorithms using floating-point arithmetic'';
19 license = stdenv.lib.licenses.lgpl21Plus;
20 maintainers = [stdenv.lib.maintainers.raskin];
21 platforms = stdenv.lib.platforms.linux;
22 };
23}