Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

62 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
#dependencies
colcon,
pyaml,
# tests
pytestCheckHook,
pytest-cov-stub,
pytest-repeat,
pytest-rerunfailures,
scspell,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "colcon-defaults";
version = "0.2.9";
pyproject = true;
src = fetchFromGitHub {
owner = "colcon";
repo = "colcon-defaults";
tag = version;
hash = "sha256-Nb6D9jpbCvUnCNgRLBgWQFybNx0hyWVLSKj6gmTWjVs=";
};
build-system = [
setuptools
];
dependencies = [
colcon
pyaml
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
pytest-repeat
pytest-rerunfailures
scspell
writableTmpDirAsHomeHook
];
disabledTestPaths = [
# Skip formatting checks to prevent depending on flake8
"test/test_flake8.py"
];
pythonImportsCheck = [ "colcon_defaults" ];
meta = {
description = "Extension for colcon to read defaults from a config file";
homepage = "https://github.com/colcon/colcon-defaults";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ guelakais ];
};
}