about summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2023-02-21 16:23:29 -0800
committerRobert Schütz <nix@dotlambda.de>2023-02-21 16:23:29 -0800
commit4bd8b542eb3d2631a62ba55c3892bc6287c6fe94 (patch)
tree4f4a116a60bfbbccf715104c9106cedf9f191170 /pkgs/tools/misc
parent19f87bba7e0b48fe3fa5110a34486d7cbb7a4888 (diff)
hdf5: add h5py to passthru.tests
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/hdf5/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/misc/hdf5/default.nix b/pkgs/tools/misc/hdf5/default.nix
index 76efc76678116..e266977da088b 100644
--- a/pkgs/tools/misc/hdf5/default.nix
+++ b/pkgs/tools/misc/hdf5/default.nix
@@ -16,6 +16,7 @@
 , jdk
 , usev110Api ? false
 , threadsafe ? false
+, python3
 }:
 
 # cpp and mpi options are mutually exclusive
@@ -90,6 +91,10 @@ stdenv.mkDerivation rec {
     moveToOutput 'bin/h5pcc' "''${!outputDev}"
   '';
 
+  passthru.tests = {
+    inherit (python3.pkgs) h5py;
+  };
+
   meta = {
     description = "Data model, library, and file format for storing and managing data";
     longDescription = ''