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/build-ros-package/default.nix
2019-04-16 15:02:56 -04:00

13 lines
352 B
Nix

{ stdenv, python, cmake }:
{ nativeBuildInputs ? []
, propagatedNativeBuildInputs ? []
, passthru ? {}
, ...
}@args: stdenv.mkDerivation (args // {
nativeBuildInputs = [ python.pkgs.wrapPython ] ++ nativeBuildInputs;
propagatedNativeBuildInputs = [ cmake ] ++ propagatedNativeBuildInputs;
passthru = passthru // {
rosPackage = true;
};
})