Files
nixpkgs/pkgs/development/python-modules/colcon-zsh/default.nix
T
2025-09-23 21:21:16 +02:00

54 lines
984 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
colcon,
pytest-cov-stub,
pytestCheckHook,
setuptools,
scspell,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "colcon-zsh";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "colcon";
repo = "colcon-zsh";
tag = version;
hash = "sha256-8aXmPxYFeqcLUNO4+md2lyk2/SnVu21HPBRZGrB/HHM=";
};
build-system = [ setuptools ];
dependencies = [
colcon
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
scspell
writableTmpDirAsHomeHook
];
pythonImportsCheck = [
"colcon_zsh"
];
disabledTestPaths = [
"test/test_flake8.py"
];
meta = {
description = "Extension for colcon-core to provide Z shell scripts";
homepage = "http://colcon.readthedocs.io/";
downloadPage = "https://github.com/colcon/colcon-zsh#";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ guelakais ];
};
}