diff --git a/pkgs/applications/networking/p2p/stig/default.nix b/pkgs/applications/networking/p2p/stig/default.nix index e9b3c696b4fd..61d42989705f 100644 --- a/pkgs/applications/networking/p2p/stig/default.nix +++ b/pkgs/applications/networking/p2p/stig/default.nix @@ -1,7 +1,9 @@ -{ lib +{ lib , stdenv , fetchFromGitHub , python3Packages +, testers +, stig }: python3Packages.buildPythonApplication rec { @@ -51,6 +53,12 @@ python3Packages.buildPythonApplication rec { "--deselect=tests/client_test/aiotransmission_test/rpc_test.py" ]; + passthru.tests = testers.testVersion { + package = stig; + command = "stig -v"; + version = "stig version ${version}"; + }; + meta = with lib; { description = "TUI and CLI for the BitTorrent client Transmission"; homepage = "https://github.com/rndusr/stig";