blob: 4dd603dae1eac45b85e187e4a31b697aae108dd8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib
, fetchFromGitHub
, buildGoModule
, testVersion
, seaweedfs
}:
buildGoModule rec {
pname = "seaweedfs";
version = "2.89";
src = fetchFromGitHub {
owner = "chrislusf";
repo = "seaweedfs";
rev = version;
sha256 = "sha256-OCfgWMKFhdjdmNHnTUP2VthPxBjAVd9Z+yH/c+vF1a4=";
};
vendorSha256 = "sha256-E6bMpWzXb5dMPXkrVSJJWXJYvkmI3cNRseMgrQNpCl4=";
subPackages = [ "weed" ];
passthru.tests.version =
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 raboof ];
license = licenses.asl20;
};
}
|