Unverified Commit 44b2c1ca authored by Aarav Gupta's avatar Aarav Gupta
Browse files

python313Packages.colcon-cd: init at 0.2.1

parent 2c574214
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1466,6 +1466,12 @@
    githubId = 37040543;
    name = "Wroclaw";
  };
  amronos = {
    email = "aarav@spikonado.com";
    github = "Amronos";
    githubId = 134804732;
    name = "Aarav Gupta";
  };
  amuckstot30 = {
    github = "amuckstot30";
    githubId = 157274630;
+49 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  colcon,
  colcon-argcomplete,
  colcon-package-information,
  fetchFromGitHub,
  lib,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "colcon-cd";
  version = "0.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "colcon";
    repo = "colcon-cd";
    tag = "${version}";
    hash = "sha256-eOo1DqTvYazr+wWraG9PZe0tTCgaAvhWtELG5rlaGSs=";
  };

  build-system = [ setuptools ];

  dependencies = [
    colcon
    colcon-package-information
  ];

  optional-dependencies = [ colcon-argcomplete ];

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTestPaths = [
    # Skip the linter tests that require additional dependencies
    "test/test_flake8.py"
    "test/test_spell_check.py"
  ];

  pythonImportCheck = [ "colcon_cd" ];

  meta = {
    description = "A shell function for colcon-core to change the current working directory.";
    homepage = "https://github.com/colcon/colcon-cd";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ amronos ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2811,6 +2811,8 @@ self: super: with self; {
  colcon-cargo = callPackage ../development/python-modules/colcon-cargo { };
  colcon-cd = callPackage ../development/python-modules/colcon-cd { };
  colcon-defaults = callPackage ../development/python-modules/colcon-defaults { };
  colcon-installed-package-information =