3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/seaweedfs/default.nix

33 lines
745 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildGoModule
, testVersion
, seaweedfs
}:
2020-11-05 15:48:09 +00:00
buildGoModule rec {
pname = "seaweedfs";
2021-06-29 12:33:33 +01:00
version = "2.56";
2020-11-05 15:48:09 +00:00
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = version;
2021-06-29 12:33:33 +01:00
sha256 = "1y9abk2i0qk5c00dnw8wvasy7dmmy6az8d1cf9bq0dwh8g8kylbn";
2020-11-05 15:48:09 +00:00
};
2021-06-29 12:33:33 +01:00
vendorSha256 = "015qvd0h786z1iwv81i107z92mqhzldp1hkcsp75wzf4j7nmzxvf";
2020-11-05 15:48:09 +00:00
subPackages = [ "weed" ];
passthru.tests.version =
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 17:51:46 +01:00
maintainers = with maintainers; [ cmacrae raboof ];
2020-11-05 15:48:09 +00:00
license = licenses.asl20;
};
}