added passthru tests

kashw2 07afac88 b0a71c5f

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