woob: add tests.version

This commit is contained in:
Damien Cassou
2023-03-21 16:40:49 +01:00
parent 2b387af207
commit 4d59df09de
@@ -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";