mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
python3Packages.semantic-version: enable tests
This commit is contained in:
parent
70c9f1b2ad
commit
5f3dfcf71e
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user