2021-04-16 16:49:23 +01:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
2022-04-20 15:40:48 +01:00
|
|
|
, testers
|
2021-04-16 16:49:23 +01:00
|
|
|
, seaweedfs
|
|
|
|
}:
|
2020-11-05 15:48:09 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "seaweedfs";
|
2022-07-14 17:51:09 +01:00
|
|
|
version = "3.15";
|
2020-11-05 15:48:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chrislusf";
|
|
|
|
repo = "seaweedfs";
|
|
|
|
rev = version;
|
2022-07-14 17:51:09 +01:00
|
|
|
sha256 = "sha256-07cIqGKmw2Co7GEc/APiOWTgflUwDIQPQzs73XTAPQA=";
|
2020-11-05 15:48:09 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 17:51:09 +01:00
|
|
|
vendorSha256 = "sha256-4U96s9PJLuVuzgWXCMLKfXK/XK1EaC+ep2c8TpKVRlc=";
|
2020-11-05 15:48:09 +00:00
|
|
|
|
|
|
|
subPackages = [ "weed" ];
|
|
|
|
|
2021-05-06 09:08:08 +01:00
|
|
|
passthru.tests.version =
|
2022-04-20 15:40:48 +01:00
|
|
|
testers.testVersion { package = seaweedfs; command = "weed version"; };
|
2021-04-16 16:49:23 +01:00
|
|
|
|
2020-11-05 15:48:09 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple and highly scalable distributed file system";
|
|
|
|
homepage = "https://github.com/chrislusf/seaweedfs";
|
2022-07-30 13:15:56 +01:00
|
|
|
maintainers = with maintainers; [ cmacrae ];
|
2022-04-01 20:34:55 +01:00
|
|
|
mainProgram = "weed";
|
2020-11-05 15:48:09 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|