54 lines
1.0 KiB
Nix
54 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
colcon,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
scspell,
|
|
writableTmpDirAsHomeHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "colcon-test-result";
|
|
version = "0.3.8";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "colcon";
|
|
repo = "colcon-test-result";
|
|
rev = version;
|
|
hash = "sha256-4t2jGJlwm8ZQkOG+Q2KyZ9Qnhhy5PAHcxxo7lkqSDRA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
colcon
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
scspell
|
|
writableTmpDirAsHomeHook
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
"test/test_flake8.py"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"colcon_test_result"
|
|
];
|
|
|
|
meta = {
|
|
description = "Extension for colcon to provide test result handling";
|
|
homepage = "https://github.com/colcon/colcon-test-result";
|
|
changelog = "https://github.com/colcon/colcon-test-result/blob/${version}/CHANGELOG.rst";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ guelakais ];
|
|
};
|
|
}
|