bloom: init at 0.12.0

This commit is contained in:
Guilhem Saurel 2024-10-27 11:51:53 +01:00 committed by Ben Wolsieffer
parent f5e12a22b5
commit 0baf0ae59b
2 changed files with 48 additions and 0 deletions

44
pkgs/bloom/default.nix Normal file
View file

@ -0,0 +1,44 @@
{
buildPythonPackage,
catkin-pkg,
empy_3,
fetchFromGitHub,
lib,
rosdep,
rosdistro,
setuptools,
vcstools,
}:
buildPythonPackage rec {
pname = "bloom";
version = "0.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ros-infrastructure";
repo = "bloom";
rev = version;
hash = "sha256-kTep9kjS1xNyTfuKEtMts2pVGMOXzUqDyMUwEpcbRXo=";
};
build-system = [ setuptools ];
dependencies = [
catkin-pkg
empy_3
rosdep
rosdistro
vcstools
];
pythonImportsCheck = [ "bloom" ];
meta = {
description = "A release automation tool which makes releasing catkin (http://ros.org/wiki/catkin) packages easier";
homepage = "https://github.com/ros-infrastructure/bloom";
changelog = "https://github.com/ros-infrastructure/bloom/blob/${src.rev}/CHANGELOG.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ nim65s ];
};
}

View file

@ -1,4 +1,6 @@
self: super: with self.lib; {
inherit (self.python3Packages) bloom;
cargo-ament-build = self.callPackage ./cargo-ament-build { };
colcon = with self.python3Packages; colcon-core.withExtensions [
@ -74,6 +76,8 @@ self: super: with self.lib; {
pythonPackagesExtensions = super.pythonPackagesExtensions ++ [
(pyFinal: pyPrev: {
bloom = pyFinal.callPackage ./bloom { };
bson = pyFinal.callPackage ./bson { };
catkin-pkg = pyFinal.callPackage ./catkin-pkg { };