@@ -0,0 +1,23 @@
1+{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook
2+, gmp, mpfr
3+}:
4+stdenv.mkDerivation rec {
5+ name = "${pname}-${version}";
6+ pname = "fplll";
7+ version = "20160331";
8+ src = fetchFromGitHub {
9+ owner = "${pname}";
10+ repo = "${pname}";
11+ rev = "11dea26c2f9396ffb7a7191aa371343f1f74c5c3";
12+ sha256 = "1clxch9hbr30w6s84m2mprxv58adhg5qw6sa2p3jr1cy4r7r59ib";
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+}