1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/rolling/python-cmake-module/default.nix

26 lines
895 B
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, python3 }:
buildRosPackage {
pname = "ros-rolling-python-cmake-module";
version = "0.10.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/python_cmake_module-release/archive/release/rolling/python_cmake_module/0.10.2-1.tar.gz";
name = "0.10.2-1.tar.gz";
sha256 = "26e336d4909934c7e0124bdea4653f9356d782a8b77f2e2b36bbee07c2337519";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ python3 ];
nativeBuildInputs = [ ament-cmake python3 ];
meta = {
description = ''Provide CMake module with extra functionality for Python.'';
license = with lib.licenses; [ asl20 ];
};
}