about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-05-01 23:34:13 +0300
committerGitHub <noreply@github.com>2023-05-01 23:34:13 +0300
commit48ab62f798ceb56e36a1625549a38eec535f9b8c (patch)
tree890fd71c6d18069c47a6e1537e0d34be7302b620
parent1904afd669b5d5d77b60751bfdb391948c513013 (diff)
parent965bdf48b1748a056a8ccb52ff3903437ad7369f (diff)
downloadnixlib-48ab62f798ceb56e36a1625549a38eec535f9b8c.tar
nixlib-48ab62f798ceb56e36a1625549a38eec535f9b8c.tar.gz
nixlib-48ab62f798ceb56e36a1625549a38eec535f9b8c.tar.bz2
nixlib-48ab62f798ceb56e36a1625549a38eec535f9b8c.tar.lz
nixlib-48ab62f798ceb56e36a1625549a38eec535f9b8c.tar.xz
nixlib-48ab62f798ceb56e36a1625549a38eec535f9b8c.tar.zst
nixlib-48ab62f798ceb56e36a1625549a38eec535f9b8c.zip
Merge pull request #229263 from azahi/seaweedfs-348
seaweedfs: 3.47 -> 3.48
-rw-r--r--pkgs/applications/networking/seaweedfs/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/applications/networking/seaweedfs/default.nix b/pkgs/applications/networking/seaweedfs/default.nix
index 51ed1767697a..d0c8ca784e69 100644
--- a/pkgs/applications/networking/seaweedfs/default.nix
+++ b/pkgs/applications/networking/seaweedfs/default.nix
@@ -7,16 +7,16 @@
 
 buildGoModule rec {
   pname = "seaweedfs";
-  version = "3.47";
+  version = "3.48";
 
   src = fetchFromGitHub {
     owner = "seaweedfs";
     repo = "seaweedfs";
     rev = version;
-    hash = "sha256-0RDzTS/bjcXeYBWqRq/oWwI0kEmxYkT6oqCBYRi3dnQ=";
+    hash = "sha256-yD9GZnx4OvzI4Jo5BJPRsZEDeUg9pUxg1cxfCCiS6AU=";
   };
 
-  vendorHash = "sha256-oXf+aZxf0jBiOqYzD9mTjYND0LjjQeHIZXIrqcEuyYk=";
+  vendorHash = "sha256-xmo82HgPRnrR53zKfKPadmut/vuNEM9jqbnqj0cTAuM=";
 
   subPackages = [ "weed" ];
 
@@ -38,8 +38,13 @@ buildGoModule rec {
     export GODEBUG=http2client=0
   '';
 
-  # There are no tests.
-  doCheck = false;
+  preCheck = ''
+    # Test all targets.
+    unset subPackages
+
+    # Remove unmaintained tests ahd those that require additional services.
+    rm -rf unmaintained test/s3
+  '';
 
   passthru.tests.version = testers.testVersion {
     package = seaweedfs;