diff --git a/pkgs/colcon/mixin.nix b/pkgs/colcon/mixin.nix new file mode 100644 index 0000000000..18324fa810 --- /dev/null +++ b/pkgs/colcon/mixin.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchPypi, colcon-core, pyyaml }: + +buildPythonPackage rec { + pname = "colcon-mixin"; + version = "0.2.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-4MNJz3sHCWEohm7BD6UI41QA2yCP7LvrhqVKsaHUnuk="; + }; + + propagatedBuildInputs = [ + colcon-core + pyyaml + ]; + + # Requires unpackaged dependencies + doCheck = false; + + meta = with lib; { + description = "An extension for colcon-core to read CLI mixins from files."; + homepage = "https://colcon.readthedocs.io"; + license = licenses.asl20; + maintainers = with maintainers; [ lopsided98 ]; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix index 82c4e6db4a..ebde5a9991 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -10,6 +10,7 @@ self: super: with self.lib; { colcon-devtools colcon-library-path colcon-metadata + colcon-mixin colcon-notification colcon-output colcon-package-information @@ -97,6 +98,8 @@ self: super: with self.lib; { colcon-metadata = pyFinal.callPackage ./colcon/metadata.nix { }; + colcon-mixin = pyFinal.callPackage ./colcon/mixin.nix { }; + colcon-notification = pyFinal.callPackage ./colcon/notification.nix { }; colcon-output = pyFinal.callPackage ./colcon/output.nix { };