summary refs log tree commit diff
path: root/pkgs/tools/networking/xxh
diff options
context:
space:
mode:
authorPasquale <p3dimaria@hotmail.it>2022-01-01 22:16:13 +0100
committerPasquale <p3dimaria@hotmail.it>2022-01-17 17:01:20 +0100
commit45db27da2ee6b8923c2ad5fcde2af1d82215fb69 (patch)
tree6b31c69290116ff884a56e0f3a49218f5c639687 /pkgs/tools/networking/xxh
parent5e9f0c1e979eafe21808905a2830c0c628e6bef5 (diff)
downloadnixpkgs-45db27da2ee6b8923c2ad5fcde2af1d82215fb69.tar
nixpkgs-45db27da2ee6b8923c2ad5fcde2af1d82215fb69.tar.gz
nixpkgs-45db27da2ee6b8923c2ad5fcde2af1d82215fb69.tar.bz2
nixpkgs-45db27da2ee6b8923c2ad5fcde2af1d82215fb69.tar.lz
nixpkgs-45db27da2ee6b8923c2ad5fcde2af1d82215fb69.tar.xz
nixpkgs-45db27da2ee6b8923c2ad5fcde2af1d82215fb69.tar.zst
nixpkgs-45db27da2ee6b8923c2ad5fcde2af1d82215fb69.zip
xxh: added tests
Diffstat (limited to 'pkgs/tools/networking/xxh')
-rw-r--r--pkgs/tools/networking/xxh/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/xxh/default.nix b/pkgs/tools/networking/xxh/default.nix
index 1e9464ce844..c03708f08a3 100644
--- a/pkgs/tools/networking/xxh/default.nix
+++ b/pkgs/tools/networking/xxh/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchFromGitHub, buildPythonApplication, pexpect, pyyaml, openssh }:
+{ lib, fetchFromGitHub, buildPythonApplication, pexpect, pyyaml, openssh, nixosTests }:
 
 buildPythonApplication rec{
   pname = "xxh";
@@ -13,6 +13,10 @@ buildPythonApplication rec{
 
   propagatedBuildInputs = [ pexpect pyyaml openssh ];
 
+  passthru.tests = {
+    inherit (nixosTests) xxh;
+  };
+
   meta = with lib; {
     description = "Bring your favorite shell wherever you go through ssh";
     homepage = "https://github.com/xxh/xxh";