diff options
author | Mitch <msfossen@gmail.com> | 2019-03-12 21:41:37 -0500 |
---|---|---|
committer | Ryan Mulligan <ryan@ryantm.com> | 2019-03-12 19:41:37 -0700 |
commit | aac69819d659c586641f288739b5070286a4b543 (patch) | |
tree | 3d2fefdf428b13410da82428576c2d3071c4e6f0 /pkgs/tools/filesystems/moosefs | |
parent | f0bd27150a9bb0612878e815c0303009bf4051a8 (diff) |
moosefs: init at 3.0.103
* moosefs: init at 3.0.103
* fix email
* fix formatting
* fixes as suggested
Diffstat (limited to 'pkgs/tools/filesystems/moosefs')
-rw-r--r-- | pkgs/tools/filesystems/moosefs/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/moosefs/default.nix b/pkgs/tools/filesystems/moosefs/default.nix new file mode 100644 index 000000000000..03966533e3a3 --- /dev/null +++ b/pkgs/tools/filesystems/moosefs/default.nix @@ -0,0 +1,41 @@ +{ stdenv +, fetchzip +, fetchFromGitHub +, makeWrapper +, python +, fuse +, pkgconfig +, libpcap +, file +, zlib +}: + +stdenv.mkDerivation rec { + pname = "moosefs"; + version = "3.0.103"; + + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = "v${version}"; + sha256 = "0pqralv57ci4zwd75hz4pxmd4l9d4nib2mcsvrb6jndxqkaqcvns"; + }; + + 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 ]; + }; +} |