diff --git a/pkgs/applications/networking/p2p/stig/default.nix b/pkgs/applications/networking/p2p/stig/default.nix index 21c59e84a445..61d42989705f 100644 --- a/pkgs/applications/networking/p2p/stig/default.nix +++ b/pkgs/applications/networking/p2p/stig/default.nix @@ -1,19 +1,22 @@ -{ lib, stdenv +{ lib +, stdenv , fetchFromGitHub , python3Packages +, testers +, stig }: python3Packages.buildPythonApplication rec { pname = "stig"; # This project has a different concept for pre release / alpha, # Read the project's README for details: https://github.com/rndusr/stig#stig - version = "0.12.2a0"; + version = "0.12.5a0"; src = fetchFromGitHub { owner = "rndusr"; repo = "stig"; rev = "v${version}"; - sha256 = "0sk4vgj3cn75nyrng2d6q0pj1h968kcmbpr9sv1lj1g8fc7g0n4f"; + sha256 = "sha256-e27DBzing38llFxPIsMGkZJXp2q7jjFlQdtfsqLXNHw="; }; propagatedBuildInputs = with python3Packages; [ @@ -50,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";