inheritance for clear code

This commit is contained in:
movefasta 2023-02-21 16:03:54 +03:00
parent 30613d14ca
commit e79c61073b
No known key found for this signature in database
GPG key ID: 74C6469794E996AD

View file

@ -24,14 +24,13 @@
bpy = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/bpy { };
pysdf = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/pysdf { };
mayo = pkgs.libsForQt5.callPackage ./pkgs/misc/mayo { };
darknet = pkgs.callPackage ./darknet.nix { };
in
{
packages = {
blender = blender;
bpy = bpy;
pysdf = pysdf;
inherit mayo darknet blender bpy pysdf;
gazebo = ros.humble.gazebo;
mayo = mayo;
};
devShells.ros =
@ -73,6 +72,7 @@
devShells.bpy = pkgs.mkShell { packages = [ bpy pysdf ]; };
devShells.mayo = pkgs.mkShell { packages = [ mayo ]; };
devShells.blender = pkgs.mkShell { packages = [ blender ]; };
devShells.darknet = pkgs.mkShell { packages = [ darknet ]; };
}
);
}