added passthru tests
This commit is contained in:
parent
b0a71c5f75
commit
07afac881c
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3Packages
|
, python3Packages
|
||||||
|
, testers
|
||||||
|
, stig
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
|
@ -51,6 +53,12 @@ python3Packages.buildPythonApplication rec {
|
||||||
"--deselect=tests/client_test/aiotransmission_test/rpc_test.py"
|
"--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; {
|
meta = with lib; {
|
||||||
description = "TUI and CLI for the BitTorrent client Transmission";
|
description = "TUI and CLI for the BitTorrent client Transmission";
|
||||||
homepage = "https://github.com/rndusr/stig";
|
homepage = "https://github.com/rndusr/stig";
|
||||||
|
|
Loading…
Reference in a new issue