nixpkgs/pkgs/development/libraries/fplll/default.nix

24 lines
719 B
Nix
Raw Normal View History

2016-10-10 16:55:47 +02:00
{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook
, gmp, mpfr
}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "fplll";
2018-04-13 17:30:54 +02:00
version = "5.2.0";
2016-10-10 16:55:47 +02:00
src = fetchFromGitHub {
owner = "${pname}";
repo = "${pname}";
rev = "${version}";
2018-04-13 17:30:54 +02:00
sha256 = "0931i4q49lzlifsg9zd8a2yzj626i1s2bqhkfxvcxv94c38s0nh1";
2016-10-10 16:55:47 +02: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;
};
}