634fe97655
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
32 lines
745 B
Nix
32 lines
745 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildGoModule
|
|
, testVersion
|
|
, seaweedfs
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "seaweedfs";
|
|
version = "2.56";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chrislusf";
|
|
repo = "seaweedfs";
|
|
rev = version;
|
|
sha256 = "1y9abk2i0qk5c00dnw8wvasy7dmmy6az8d1cf9bq0dwh8g8kylbn";
|
|
};
|
|
|
|
vendorSha256 = "015qvd0h786z1iwv81i107z92mqhzldp1hkcsp75wzf4j7nmzxvf";
|
|
|
|
subPackages = [ "weed" ];
|
|
|
|
passthru.tests.version =
|
|
testVersion { package = seaweedfs; command = "weed version"; };
|
|
|
|
meta = with lib; {
|
|
description = "Simple and highly scalable distributed file system";
|
|
homepage = "https://github.com/chrislusf/seaweedfs";
|
|
maintainers = with maintainers; [ cmacrae raboof ];
|
|
license = licenses.asl20;
|
|
};
|
|
}
|