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

25 lines
605 B
Nix
Raw Normal View History

2020-11-05 16:48:09 +01:00
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "seaweedfs";
2021-02-16 13:32:25 +01:00
version = "2.26";
2020-11-05 16:48:09 +01:00
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = version;
2021-02-16 13:32:25 +01:00
sha256 = "sha256-l3lgN5x7bBUP9WwDkuHRJEjhL7wr2tZmpxr6MqHoUYw=";
2020-11-05 16:48:09 +01:00
};
2021-02-16 13:32:25 +01:00
vendorSha256 = "sha256-uT/Y/TfpqDyOUElc4M/w/v77bWF3tTJz+Yu0KRMcxk4=";
2020-11-05 16:48:09 +01: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;
};
}