python310Packages.node-semver: add pythonImportsCheck

This commit is contained in:
Fabian Affolter
2023-02-24 18:39:47 +01:00
parent 3b8b436244
commit 3c84b06582
@@ -1,7 +1,7 @@
{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
, pytest
, pythonOlder
}:
@@ -16,14 +16,22 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-BKoLABbbwGdI1jeMQtjPgqNDQVvZ/KYoT0iAQdCLM7s=";
hash = "sha256-BKoLABbbwGdI1jeMQtjPgqNDQVvZ/KYoT0iAQdCLM7s=";
};
nativeCheckInputs = [
pytest
];
pythonImportsCheck = [
"nodesemver"
];
meta = with lib; {
changelog = "https://github.com/podhmo/python-node-semver/blob/${version}/CHANGES.txt";
homepage = "https://github.com/podhmo/python-semver";
description = "A port of node-semver";
homepage = "https://github.com/podhmo/python-semver";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}