diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-10-22 12:16:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 12:16:53 -0500 |
commit | f40382dcf606a2409909c8752337bb6447af7c22 (patch) | |
tree | ce4ae8d091c9298e40834aaf74054084d18730c7 /pkgs/applications/networking | |
parent | 90e77c45dc3c5c85bc40c8bc9c978d54d57bdeb5 (diff) | |
parent | a863ccbf669525ae0386ed889c7d996ac1247cd2 (diff) |
Merge pull request #197209 from azahi/seaweed
seaweedfs: 3.27 -> 3.32
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/seaweedfs/default.nix | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/pkgs/applications/networking/seaweedfs/default.nix b/pkgs/applications/networking/seaweedfs/default.nix index 8c87d0ed4c2e3..6ff9b6bd26fd5 100644 --- a/pkgs/applications/networking/seaweedfs/default.nix +++ b/pkgs/applications/networking/seaweedfs/default.nix @@ -7,26 +7,49 @@ buildGoModule rec { pname = "seaweedfs"; - version = "3.27"; + version = "3.32"; src = fetchFromGitHub { owner = "chrislusf"; repo = "seaweedfs"; rev = version; - sha256 = "sha256-kvKUgw6A4UHOuDmKuOv+XS/0XiOf2ENWxl2WmJ4cVTE="; + hash = "sha256-GMOLlkBfY3ShVojdRrmpMYgoea52kq4aXr/oZj5bJWo="; }; - vendorSha256 = "sha256-sgLHRDdi9gkcSzeBaDCxtbvWSzjTshb2WbmMyRepUKA="; + vendorHash = "sha256-cEzPKx54rssyAytYenIcud3K0f7xuO8WzE8wdMqZipE="; subPackages = [ "weed" ]; - passthru.tests.version = - testers.testVersion { package = seaweedfs; command = "weed version"; }; + ldflags = [ + "-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; { description = "Simple and highly scalable distributed file system"; homepage = "https://github.com/chrislusf/seaweedfs"; - maintainers = with maintainers; [ cmacrae ]; + maintainers = with maintainers; [ azahi cmacrae ]; mainProgram = "weed"; license = licenses.asl20; }; |