about summary refs log tree commit diff
path: root/pkgs/tools/compression/zstd
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-02-13 12:02:05 +0000
committerGitHub <noreply@github.com>2023-02-13 12:02:05 +0000
commit29c2637dda61955396739885e1b6d850b731bcd6 (patch)
tree6b63d833cc7bffc8434e9ac2e5539b3a1207fbfc /pkgs/tools/compression/zstd
parent410d64db35fe9e45f7d6a684fc368554761f6331 (diff)
parentfd8daee7c2ac1f019563923e2b61431644301083 (diff)
downloadnixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.gz
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.bz2
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.lz
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.xz
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.zst
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/tools/compression/zstd')
-rw-r--r--pkgs/tools/compression/zstd/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/tools/compression/zstd/default.nix b/pkgs/tools/compression/zstd/default.nix
index ed3eb9288c5b..ca04ead396b7 100644
--- a/pkgs/tools/compression/zstd/default.nix
+++ b/pkgs/tools/compression/zstd/default.nix
@@ -8,6 +8,15 @@
 , buildContrib ? stdenv.hostPlatform == stdenv.buildPlatform
 , doCheck ? stdenv.hostPlatform == stdenv.buildPlatform
 , nix-update-script
+
+# for passthru.tests
+, libarchive
+, rocksdb
+, arrow-cpp
+, libzip
+, curl
+, python3Packages
+, haskellPackages
 }:
 
 stdenv.mkDerivation rec {
@@ -91,6 +100,14 @@ stdenv.mkDerivation rec {
 
   passthru = {
     updateScript = nix-update-script { };
+    tests = {
+      inherit libarchive rocksdb arrow-cpp;
+      libzip = libzip.override { withZstd = true; };
+      curl = curl.override { zstdSupport = true; };
+      python-zstd = python3Packages.zstd;
+      haskell-zstd = haskellPackages.zstd;
+      haskell-hs-zstd = haskellPackages.hs-zstd;
+    };
   };
 
   meta = with lib; {