2020-11-06 00:33:48 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "seaweedfs";
|
2021-03-20 04:20:00 +00:00
|
|
|
version = "2.35";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chrislusf";
|
|
|
|
repo = "seaweedfs";
|
|
|
|
rev = version;
|
2021-03-20 04:20:00 +00:00
|
|
|
sha256 = "sha256-J0vwc/sabc6T8+eh94luQdnVltmThapYwLCdyGjCnSc=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
vendorSha256 = "sha256-u1Aqcm6oJ1y2dVP9BJXV7/1nhNxEOtgZQppoA+cXbD0=";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
subPackages = [ "weed" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple and highly scalable distributed file system";
|
|
|
|
homepage = "https://github.com/chrislusf/seaweedfs";
|
|
|
|
maintainers = [ maintainers.raboof ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|