about summary refs log tree commit diff
path: root/pkgs/tools/compression/zstd
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2023-02-11 00:09:44 +0000
committerRobert Scott <code@humanleg.org.uk>2023-02-11 00:09:44 +0000
commite186a328e4de5ffd62835982098b5d192068d8c1 (patch)
tree3053a9d6e69b7f3c8e1bb6598e9e378d75c5a696 /pkgs/tools/compression/zstd
parent6fe0b2308609dfcb5eea9c0aa287917ca6838bfe (diff)
downloadnixlib-e186a328e4de5ffd62835982098b5d192068d8c1.tar
nixlib-e186a328e4de5ffd62835982098b5d192068d8c1.tar.gz
nixlib-e186a328e4de5ffd62835982098b5d192068d8c1.tar.bz2
nixlib-e186a328e4de5ffd62835982098b5d192068d8c1.tar.lz
nixlib-e186a328e4de5ffd62835982098b5d192068d8c1.tar.xz
nixlib-e186a328e4de5ffd62835982098b5d192068d8c1.tar.zst
nixlib-e186a328e4de5ffd62835982098b5d192068d8c1.zip
zstd: add some key reverse-dependencies to passthru.tests
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 6a489779cb02..40df92b4d538 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; {