Files
2026-05-13 16:59:01 +02:00

54 lines
979 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
colcon,
pytest-cov-stub,
pytestCheckHook,
setuptools,
scspell,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "colcon-bash";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "colcon";
repo = "colcon-bash";
tag = version;
hash = "sha256-rdUo+aLnCkQBPwBVosPYhVZqBPXeJCKKWAv+0mQBJ8Q=";
};
build-system = [ setuptools ];
dependencies = [
colcon
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
scspell
writableTmpDirAsHomeHook
];
pythonImportsCheck = [
"colcon_bash"
];
disabledTestPaths = [
"test/test_flake8.py"
];
meta = {
description = "Extension for colcon to provide Bash scripts";
homepage = "http://colcon.readthedocs.io/";
downloadPage = "https://github.com/colcon/colcon-bash";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ guelakais ];
};
}