fplll: update formatting

According to my perception of the current community standards.
This commit is contained in:
Timo Kaufmann 2019-12-09 08:11:20 +01:00
parent 646b279c55
commit ed8d53655f

View File

@ -1,22 +1,42 @@
{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook { stdenv
, gmp, mpfr , fetchFromGitHub
, autoconf
, automake
, libtool
, gettext
, autoreconfHook
, gmp
, mpfr
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fplll"; pname = "fplll";
version = "5.2.1"; version = "5.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = "fplll";
repo = pname; repo = "fplll";
rev = version; rev = version;
sha256 = "015qmrd7nfaysbv1hbwiprz9g6hnww1y1z1xw8f43ysb7k1b5nbg"; sha256 = "015qmrd7nfaysbv1hbwiprz9g6hnww1y1z1xw8f43ysb7k1b5nbg";
}; };
nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook];
buildInputs = [gmp mpfr]; nativeBuildInputs = [
meta = { autoconf
inherit version; automake
libtool
gettext
autoreconfHook
];
buildInputs = [
gmp
mpfr
];
meta = with stdenv.lib; {
description = ''Lattice algorithms using floating-point arithmetic''; description = ''Lattice algorithms using floating-point arithmetic'';
license = stdenv.lib.licenses.lgpl21Plus; license = licenses.lgpl21Plus;
maintainers = [stdenv.lib.maintainers.raskin]; maintainers = with maintainers; [raskin];
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
}; };
} }