2020-11-05 15:48:09 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "seaweedfs";
|
2021-03-13 13:35:56 +00:00
|
|
|
version = "2.31";
|
2020-11-05 15:48:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chrislusf";
|
|
|
|
repo = "seaweedfs";
|
|
|
|
rev = version;
|
2021-03-13 13:35:56 +00:00
|
|
|
sha256 = "sha256-0s/hcRUuskU4TZqk5h4A51mkEJ6uUZS42mKDQvSx3I4=";
|
2020-11-05 15:48:09 +00:00
|
|
|
};
|
|
|
|
|
2021-03-13 13:35:56 +00:00
|
|
|
vendorSha256 = "sha256-QpGRQQbNchj0T9USRnALjvOGd2cV+JUgJeRgfjK8n5o=";
|
2020-11-05 15:48:09 +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;
|
|
|
|
};
|
|
|
|
}
|