Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, python, buildPythonPackage, fetchPypi, setuptools, numpy, patchelfUnstable, pyyaml, nix-update-script,}:
buildPythonPackage (finalAttrs: { pname = "hebi-py"; version = "2.15.0"; pyproject = true;
src = fetchPypi { pname = "hebi-py"; inherit (finalAttrs) version; hash = "sha256-KvAUshMFDu+QCQcdSI2i4SmnLm+sOMPvu8JUCs912Go="; };
__structuredAttrs = 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 ]; };})