2021-05-03 20:48:10 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
2022-04-27 09:35:20 +00:00
|
|
|
, testers
|
2021-05-03 20:48:10 +00:00
|
|
|
, seaweedfs
|
|
|
|
}:
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "seaweedfs";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "3.27";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chrislusf";
|
|
|
|
repo = "seaweedfs";
|
|
|
|
rev = version;
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-kvKUgw6A4UHOuDmKuOv+XS/0XiOf2ENWxl2WmJ4cVTE=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
vendorSha256 = "sha256-sgLHRDdi9gkcSzeBaDCxtbvWSzjTshb2WbmMyRepUKA=";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
subPackages = [ "weed" ];
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
passthru.tests.version =
|
2022-04-27 09:35:20 +00:00
|
|
|
testers.testVersion { package = seaweedfs; command = "weed version"; };
|
2021-05-03 20:48:10 +00:00
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple and highly scalable distributed file system";
|
|
|
|
homepage = "https://github.com/chrislusf/seaweedfs";
|
2022-08-12 12:06:08 +00:00
|
|
|
maintainers = with maintainers; [ cmacrae ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "weed";
|
2020-11-06 00:33:48 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|