mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
bea968d33f
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/moosefs/versions
42 lines
840 B
Nix
42 lines
840 B
Nix
{ stdenv
|
|
, fetchzip
|
|
, fetchFromGitHub
|
|
, makeWrapper
|
|
, python
|
|
, fuse
|
|
, pkgconfig
|
|
, libpcap
|
|
, file
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "moosefs";
|
|
version = "3.0.104";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "057xg7zy872w4hczk9b9ckmqyah3qhgysvxddqizr204cyadicxh";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|