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

25 lines
605 B
Nix
Raw Normal View History

2020-11-05 15:48:09 +00:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "seaweedfs";
2021-02-03 23:33:28 +00:00
version = "2.23";
2020-11-05 15:48:09 +00:00
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = version;
2021-02-03 23:33:28 +00:00
sha256 = "sha256-MMFVJoiVrA0zy4RM2nyhlu/JfnzIRpxrA3N1jm2R0jI=";
2020-11-05 15:48:09 +00:00
};
2021-02-03 23:33:28 +00:00
vendorSha256 = "sha256-UucbEBjIKRbZFd99BsnG6AAEIQ13+vzKe61k6ZPvE0A=";
2020-11-05 15:48:09 +00:00
subPackages = [ "weed" ];
meta = with lib; {
description = "Simple and highly scalable distributed file system";
homepage = "https://github.com/chrislusf/seaweedfs";
maintainers = [ maintainers.raboof ];
license = licenses.asl20;
};
}