nixpkgs/pkgs/applications/networking/seaweedfs/default.nix

34 lines
773 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildGoModule
, testers
, seaweedfs
}:
2020-11-05 15:48:09 +00:00
buildGoModule rec {
pname = "seaweedfs";
2022-02-28 17:18:16 +00:00
version = "2.91";
2020-11-05 15:48:09 +00:00
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = version;
2022-02-28 17:18:16 +00:00
sha256 = "sha256-lpr+Z4INDUrMUArR9yU/US/d7rhQ3AcTS3bh/suOe4M=";
2020-11-05 15:48:09 +00:00
};
2022-02-28 17:18:16 +00:00
vendorSha256 = "sha256-T8JUc8UqdgBADWfQL1oY0lrwOOKTmbBiI7rtNiDvlGo=";
2020-11-05 15:48:09 +00:00
subPackages = [ "weed" ];
passthru.tests.version =
testers.testVersion { package = seaweedfs; command = "weed version"; };
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";
2021-06-04 16:51:46 +00:00
maintainers = with maintainers; [ cmacrae raboof ];
mainProgram = "weed";
2020-11-05 15:48:09 +00:00
license = licenses.asl20;
};
}