moosefs: add markuskowa to maintainers; nixfmt (#346193)

This commit is contained in:
Markus Kowalewski 2024-10-03 21:37:24 +02:00 committed by GitHub
commit 023aef5782
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = with lib; {
meta = {
homepage = "https://moosefs.com";
description = "Open Source, Petabyte, Fault-Tolerant, Highly Performing, Scalable Network Distributed File System";
platforms = platforms.unix;
license = licenses.gpl2Only;
maintainers = [ maintainers.mfossen ];
platforms = lib.platforms.unix;
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [
mfossen
markuskowa
];
};
}