nixpkgs/pkgs/applications/networking/seaweedfs/default.nix
2022-09-06 22:54:43 +00:00

34 lines
766 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
, testers
, seaweedfs
}:
buildGoModule rec {
pname = "seaweedfs";
version = "3.26";
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = version;
sha256 = "sha256-ETpcBodT3zFwzc5tczgfw6pD3htb4xFzl0btkyODWk0=";
};
vendorSha256 = "sha256-sgLHRDdi9gkcSzeBaDCxtbvWSzjTshb2WbmMyRepUKA=";
subPackages = [ "weed" ];
passthru.tests.version =
testers.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 ];
mainProgram = "weed";
license = licenses.asl20;
};
}