summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-12-09 08:11:20 +0100
committerTimo Kaufmann <timokau@zoho.com>2019-12-11 10:32:32 +0100
commited8d53655fe36e69262ae517f388ec016b3a5ad0 (patch)
tree680a2efdbf2b8aeceae97c84a62b519a638b6067 /pkgs/development/libraries
parent646b279c55780fa8cfe79b2a3b1e3ab53b445be7 (diff)
downloadnixpkgs-ed8d53655fe36e69262ae517f388ec016b3a5ad0.tar
nixpkgs-ed8d53655fe36e69262ae517f388ec016b3a5ad0.tar.gz
nixpkgs-ed8d53655fe36e69262ae517f388ec016b3a5ad0.tar.bz2
nixpkgs-ed8d53655fe36e69262ae517f388ec016b3a5ad0.tar.lz
nixpkgs-ed8d53655fe36e69262ae517f388ec016b3a5ad0.tar.xz
nixpkgs-ed8d53655fe36e69262ae517f388ec016b3a5ad0.tar.zst
nixpkgs-ed8d53655fe36e69262ae517f388ec016b3a5ad0.zip
fplll: update formatting
According to my perception of the current community standards.
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/fplll/default.nix42
1 files changed, 31 insertions, 11 deletions
diff --git a/pkgs/development/libraries/fplll/default.nix b/pkgs/development/libraries/fplll/default.nix
index c2952cb47f1..bc337da501a 100644
--- a/pkgs/development/libraries/fplll/default.nix
+++ b/pkgs/development/libraries/fplll/default.nix
@@ -1,22 +1,42 @@
-{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook
-, gmp, mpfr
+{ stdenv
+, fetchFromGitHub
+, autoconf
+, automake
+, libtool
+, gettext
+, autoreconfHook
+, gmp
+, mpfr
 }:
+
 stdenv.mkDerivation rec {
   pname = "fplll";
   version = "5.2.1";
+
   src = fetchFromGitHub {
-    owner = pname;
-    repo = pname;
+    owner = "fplll";
+    repo = "fplll";
     rev = version;
     sha256 = "015qmrd7nfaysbv1hbwiprz9g6hnww1y1z1xw8f43ysb7k1b5nbg";
   };
-  nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook];
-  buildInputs = [gmp mpfr];
-  meta = {
-    inherit version;
+
+  nativeBuildInputs = [
+    autoconf
+    automake
+    libtool
+    gettext
+    autoreconfHook
+  ];
+
+  buildInputs = [
+    gmp
+    mpfr
+  ];
+
+  meta = with stdenv.lib; {
     description = ''Lattice algorithms using floating-point arithmetic'';
-    license = stdenv.lib.licenses.lgpl21Plus;
-    maintainers = [stdenv.lib.maintainers.raskin];
-    platforms = stdenv.lib.platforms.unix;
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [raskin];
+    platforms = platforms.unix;
   };
 }