From 4d59df09de5136f5c6ffed8d6ef6b2ad78648cad Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 21 Mar 2023 16:39:26 +0100 Subject: [PATCH] woob: add tests.version --- pkgs/development/python-modules/woob/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/woob/default.nix b/pkgs/development/python-modules/woob/default.nix index ee71b7cae4f1..9130ebdd346b 100644 --- a/pkgs/development/python-modules/woob/default.nix +++ b/pkgs/development/python-modules/woob/default.nix @@ -23,7 +23,9 @@ , requests , simplejson , termcolor +, testers , unidecode +, woob }: buildPythonPackage rec { @@ -86,6 +88,11 @@ buildPythonPackage rec { "woob" ]; + passthru.tests.version = testers.testVersion { + package = woob; + version = "v${version}"; + }; + meta = with lib; { description = "Collection of applications and APIs to interact with websites"; homepage = "https://woob.tech";