python3Packages.semantic-version: enable tests

This commit is contained in:
Fabian Affolter 2022-02-12 14:50:40 +01:00
parent 70c9f1b2ad
commit 5f3dfcf71e

View File

@ -2,6 +2,7 @@
, fetchPypi
, buildPythonPackage
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
@ -17,13 +18,14 @@ buildPythonPackage rec {
sha256 = "sha256-q/VIc1U+Xgem/U1fZTt4H1rkEpekk2ZrWdzyFABqErI=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"semantic_version"
];
# ModuleNotFoundError: No module named 'tests'
doCheck = false;
meta = with lib; {
description = "A library implementing the 'SemVer' scheme";
homepage = "https://github.com/rbarrois/python-semanticversion/";