poetryPlugins.poetry-plugin-export: run tests
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry,
|
||||
poetry-core,
|
||||
pytest-mock,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -17,17 +21,19 @@ buildPythonPackage rec {
|
||||
hash = "sha256-ZXhj9FwCCNFMzyoAtQTD8bddOvVM4KzNtd+3sBn9i+w=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/poetry =/d' pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
# infinite recursion with poetry
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ ];
|
||||
buildInputs = [
|
||||
poetry
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/python-poetry/poetry-plugin-export/blob/${src.rev}/CHANGELOG.md";
|
||||
|
||||
Reference in New Issue
Block a user