8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
39 lines
824 B
Nix
39 lines
824 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, makeWrapper
|
|
, python
|
|
, fuse
|
|
, pkgconfig
|
|
, libpcap
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "moosefs";
|
|
version = "3.0.112";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "04ymwg9r9x9gqjwy9jbjv7zzfgwal0xlfy6z5bwl27m2ys6l5k4a";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
|
|
|
buildInputs =
|
|
[ fuse libpcap zlib ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/sbin/mfscgiserv \
|
|
--prefix PATH ":" "${python}/bin"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://moosefs.com";
|
|
description = "Open Source, Petabyte, Fault-Tolerant, Highly Performing, Scalable Network Distributed File System";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.mfossen ];
|
|
};
|
|
}
|