2024-04-12 20:29:16 +03:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchgit
|
|
|
|
, python3Packages
|
|
|
|
, lib
|
|
|
|
, autoPatchelfHook
|
|
|
|
, pythonImportsCheckHook
|
|
|
|
, config
|
|
|
|
, cudaSupport ? config.cudaSupport
|
|
|
|
, numpy
|
|
|
|
, setuptools
|
2024-06-28 09:18:26 +00:00
|
|
|
, bpy-lib
|
2024-04-22 15:57:32 +03:00
|
|
|
, rbsFrameworkSrc
|
2024-04-12 20:29:16 +03:00
|
|
|
, ... }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "rcg_pipeline";
|
|
|
|
version = "1.0.0";
|
|
|
|
format = "pyproject";
|
|
|
|
|
2024-04-22 15:57:32 +03:00
|
|
|
src = rbsFrameworkSrc;
|
|
|
|
|
2024-04-12 20:29:16 +03:00
|
|
|
sourceRoot = "${src.name}/rcg_pipeline";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
2024-06-28 09:18:26 +00:00
|
|
|
bpy-lib
|
2024-04-12 20:29:16 +03:00
|
|
|
];
|
|
|
|
|
2024-04-22 15:51:35 +03:00
|
|
|
# TODO - see later, pyproject.toml duntime deps check doesnt work
|
|
|
|
dontCheckRuntimeDeps = true;
|
|
|
|
|
2024-04-12 20:29:16 +03:00
|
|
|
pythonImportsCheck = [ "rcg_pipeline" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Robossembler CG Pipeline Python Module";
|
|
|
|
homepage = "https://gitlab.com/robossembler/framework/rcg_pipeline";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|