FreeCAD Robossembler Workbench as python module
This commit is contained in:
parent
f5c111bae7
commit
47eeaa6067
3 changed files with 42 additions and 4 deletions
|
@ -133,6 +133,7 @@
|
||||||
megapose6d = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/megapose6d { inherit webdataset; };
|
megapose6d = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/megapose6d { inherit webdataset; };
|
||||||
spatialmath = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/spatialmath { inherit ansitable; };
|
spatialmath = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/spatialmath { inherit ansitable; };
|
||||||
rcg-pipeline = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/rcg-pipeline { inherit bpy-wheel; };
|
rcg-pipeline = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/rcg-pipeline { inherit bpy-wheel; };
|
||||||
|
rbs-workbench = pkgs.python3Packages.callPackage ./pkgs/development/python-modules/freecad.robossembler { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
@ -215,6 +216,7 @@
|
||||||
scipy
|
scipy
|
||||||
spatialmath
|
spatialmath
|
||||||
rcg-pipeline
|
rcg-pipeline
|
||||||
|
rbs-workbench
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
{ buildPythonPackage
|
||||||
|
, fetchgit
|
||||||
|
, python3Packages
|
||||||
|
, lib
|
||||||
|
, autoPatchelfHook
|
||||||
|
, pythonImportsCheckHook
|
||||||
|
, config
|
||||||
|
, setuptools
|
||||||
|
, ... }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "rbs-workbench";
|
||||||
|
version = "1.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://gitlab.com/robossembler/framework";
|
||||||
|
hash = "sha256-N9xFVU4+GbuRR5saMkK7GjKPqKjk2LjcTFWqVhhJ0bs=";
|
||||||
|
rev = "946e83fd159f9ed234b70923df657bc5120cc62f";
|
||||||
|
};
|
||||||
|
sourceRoot = "${src.name}/freecad_workbench";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "freecad.robossembler" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Robossembler CG Pipeline Python Module";
|
||||||
|
homepage = "https://gitlab.com/robossembler/framework/rcg_pipeline";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -16,12 +16,10 @@ buildPythonPackage rec {
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
# src = /home/movefasta/Documents/robossembler/framework;
|
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://gitlab.com/robossembler/framework";
|
url = "https://gitlab.com/robossembler/framework";
|
||||||
hash = "sha256-iLPphGbIGf7IRdedBSC2yJ2M3ttsHATvtOLot/04AZU=";
|
hash = "sha256-N9xFVU4+GbuRR5saMkK7GjKPqKjk2LjcTFWqVhhJ0bs=";
|
||||||
rev = "8268db0dec793bfa42d4fcba24c7d442938b7a25";
|
rev = "946e83fd159f9ed234b70923df657bc5120cc62f";
|
||||||
};
|
};
|
||||||
sourceRoot = "${src.name}/rcg_pipeline";
|
sourceRoot = "${src.name}/rcg_pipeline";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue