From 466092701d53c3e641be4b156d431f9c7df733a9 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Thu, 3 Oct 2024 17:30:25 +0200 Subject: [PATCH] moosefs: apply nixfmt --- pkgs/tools/filesystems/moosefs/default.nix | 39 ++++++++++++++-------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/pkgs/tools/filesystems/moosefs/default.nix b/pkgs/tools/filesystems/moosefs/default.nix index 7272e3e4811e..ae0c653f0a17 100644 --- a/pkgs/tools/filesystems/moosefs/default.nix +++ b/pkgs/tools/filesystems/moosefs/default.nix @@ -1,11 +1,13 @@ -{ lib, stdenv -, fetchFromGitHub -, python3 -, fuse -, pkg-config -, libpcap -, zlib -, nixosTests +{ + lib, + stdenv, + fetchFromGitHub, + python3, + fuse, + pkg-config, + libpcap, + zlib, + nixosTests, }: stdenv.mkDerivation rec { @@ -23,12 +25,18 @@ stdenv.mkDerivation rec { pkg-config ]; - buildInputs = - [ fuse libpcap zlib python3 ]; + buildInputs = [ + fuse + libpcap + zlib + python3 + ]; strictDeps = true; - buildFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "CPPFLAGS=-UHAVE_STRUCT_STAT_ST_BIRTHTIME" ]; + buildFlags = lib.optionals stdenv.hostPlatform.isDarwin [ + "CPPFLAGS=-UHAVE_STRUCT_STAT_ST_BIRTHTIME" + ]; # Fix the build on macOS with macFUSE installed postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' @@ -48,13 +56,18 @@ stdenv.mkDerivation rec { doCheck = true; - passthru.tests = { inherit (nixosTests) moosefs; }; + passthru.tests = { + inherit (nixosTests) moosefs; + }; meta = { homepage = "https://moosefs.com"; description = "Open Source, Petabyte, Fault-Tolerant, Highly Performing, Scalable Network Distributed File System"; platforms = lib.platforms.unix; license = lib.licenses.gpl2Only; - maintainers = with lib.maintainers; [ mfossen markuskowa ]; + maintainers = with lib.maintainers; [ + mfossen + markuskowa + ]; }; }