1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00

Add colcon-defaults extension

This commit is contained in:
Michal Sojka 2023-03-26 11:24:06 +02:00 committed by Ben Wolsieffer
parent e45d0d1576
commit 77e6334b05
2 changed files with 31 additions and 0 deletions

28
pkgs/colcon/defaults.nix Normal file
View file

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, colcon-core, pyyaml }:
buildPythonPackage rec {
pname = "colcon-defaults";
version = "0.2.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-BT6KGPuuBM8YKilo1/ftR0xRJb87MGuASSUFdPQJb6E=";
};
propagatedBuildInputs = [
colcon-core
pyyaml
];
# Requires unpackaged dependencies
doCheck = false;
disabled = isPy27;
meta = with lib; {
description = "An extension for colcon-core to provide custom default values for the command line arguments from a configuration file.";
homepage = "https://colcon.readthedocs.io/en/released/user/configuration.html#defaults-yaml";
license = licenses.asl20;
maintainers = with maintainers; [ lopsided98 ];
};
}

View file

@ -14,6 +14,8 @@ self: super: with self.lib; let
colcon-core = pyFinal.callPackage ./colcon/core.nix { };
colcon-defaults = pyFinal.callPackage ./colcon/defaults.nix { };
colcon-library-path = pyFinal.callPackage ./colcon/library-path.nix { };
colcon-metadata = pyFinal.callPackage ./colcon/metadata.nix { };
@ -57,6 +59,7 @@ in {
colcon = with self.python3Packages; colcon-core.withExtensions [
colcon-cmake
colcon-core
colcon-defaults
colcon-library-path
colcon-metadata
colcon-package-information