added passthru tests

kashw2 07afac88 b0a71c5f

+9 -1
+9 -1
pkgs/applications/networking/p2p/stig/default.nix
··· 1 - { lib 1 + { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 4 , python3Packages 5 + , testers 6 + , stig 5 7 }: 6 8 7 9 python3Packages.buildPythonApplication rec { ··· 50 52 "--deselect=tests/client_test/aiotransmission_test/api_torrent_test.py" 51 53 "--deselect=tests/client_test/aiotransmission_test/rpc_test.py" 52 54 ]; 55 + 56 + passthru.tests = testers.testVersion { 57 + package = stig; 58 + command = "stig -v"; 59 + version = "stig version ${version}"; 60 + }; 53 61 54 62 meta = with lib; { 55 63 description = "TUI and CLI for the BitTorrent client Transmission";