mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 10:07:42 +03:00
commit
f40382dcf6
@ -7,26 +7,49 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "seaweedfs";
|
pname = "seaweedfs";
|
||||||
version = "3.27";
|
version = "3.32";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "chrislusf";
|
owner = "chrislusf";
|
||||||
repo = "seaweedfs";
|
repo = "seaweedfs";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-kvKUgw6A4UHOuDmKuOv+XS/0XiOf2ENWxl2WmJ4cVTE=";
|
hash = "sha256-GMOLlkBfY3ShVojdRrmpMYgoea52kq4aXr/oZj5bJWo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-sgLHRDdi9gkcSzeBaDCxtbvWSzjTshb2WbmMyRepUKA=";
|
vendorHash = "sha256-cEzPKx54rssyAytYenIcud3K0f7xuO8WzE8wdMqZipE=";
|
||||||
|
|
||||||
subPackages = [ "weed" ];
|
subPackages = [ "weed" ];
|
||||||
|
|
||||||
passthru.tests.version =
|
ldflags = [
|
||||||
testers.testVersion { package = seaweedfs; command = "weed version"; };
|
"-w"
|
||||||
|
"-s"
|
||||||
|
"-X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=N/A"
|
||||||
|
];
|
||||||
|
|
||||||
|
tags = [
|
||||||
|
"elastic"
|
||||||
|
"gocdk"
|
||||||
|
"sqlite"
|
||||||
|
"ydb"
|
||||||
|
"tikv"
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
export GODEBUG=http2client=0
|
||||||
|
'';
|
||||||
|
|
||||||
|
# There are no tests.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = seaweedfs;
|
||||||
|
command = "weed version";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple and highly scalable distributed file system";
|
description = "Simple and highly scalable distributed file system";
|
||||||
homepage = "https://github.com/chrislusf/seaweedfs";
|
homepage = "https://github.com/chrislusf/seaweedfs";
|
||||||
maintainers = with maintainers; [ cmacrae ];
|
maintainers = with maintainers; [ azahi cmacrae ];
|
||||||
mainProgram = "weed";
|
mainProgram = "weed";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user