93ffb054db
GitOrigin-RevId: 6f0c00907bbd81b47052eef59f7b284926a77289
38 lines
834 B
Nix
38 lines
834 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, makeWrapper
|
|
, python
|
|
, fuse
|
|
, pkgconfig
|
|
, libpcap
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "moosefs";
|
|
version = "3.0.115";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0dap9dqwwx8adma6arxg015riqc86cmjv2m44hk0kz7s24h79ipq";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
|
|
|
buildInputs =
|
|
[ fuse libpcap zlib python ];
|
|
|
|
postInstall = ''
|
|
substituteInPlace $out/sbin/mfscgiserv --replace "datapath=\"$out" "datapath=\""
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|