Unverified Commit 55c60987 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python313Packages.colcon-defaults: init at 0.2.9 (#399279)

parents 71ae33ed 3e63f12d
Loading
Loading
Loading
Loading
+61 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2665,6 +2665,8 @@ self: super: with self; {
  colcon-argcomplete = callPackage ../development/python-modules/colcon-argcomplete { };
  colcon-defaults = callPackage ../development/python-modules/colcon-defaults { };
  collections-extended = callPackage ../development/python-modules/collections-extended { };
  collidoscope = callPackage ../development/python-modules/collidoscope { };