python3Packages.hebi-py: init at 2.7.9 (#351799)

This commit is contained in:
Arne Keller
2026-06-29 15:54:21 +00:00
committed by GitHub
2 changed files with 56 additions and 0 deletions
@@ -0,0 +1,54 @@
{
lib,
python,
buildPythonPackage,
fetchPypi,
setuptools,
numpy,
patchelfUnstable,
pyyaml,
nix-update-script,
}:
buildPythonPackage (finalAttrs: {
pname = "hebi-py";
version = "2.7.9";
pyproject = true;
src = fetchPypi {
pname = "hebi-py";
inherit (finalAttrs) version;
hash = "sha256-7B0oxG1CVDTUVDFTJpuYvaCj+HnCL/2zmsD33W4nTLs=";
};
__structuredAttrs = true;
strictDeps = true;
build-system = [
setuptools
patchelfUnstable # Depends on --clear-execstack which is not in any tagged release yet
];
dependencies = [
numpy
pyyaml
];
doCheck = false; # no tests
postFixup = ''
for lib in $out/${python.sitePackages}/hebi/lib/linux_x86_64/libhebi.so*; do
patchelf --clear-execstack "$lib"
done
'';
pythonImportsCheck = [ "hebi" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Python library for the Hebi Robotics API";
homepage = "https://docs.hebi.us/";
license = lib.licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ pandapip1 ];
};
})
+2
View File
@@ -7192,6 +7192,8 @@ self: super: with self; {
hebg = callPackage ../development/python-modules/hebg { };
hebi-py = callPackage ../development/python-modules/hebi-py { };
hegel-ip-client = callPackage ../development/python-modules/hegel-ip-client { };
helion = callPackage ../development/python-modules/helion { };