summaryrefslogtreecommitdiff
path: root/gnu/packages/libusb.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-09-14 18:14:36 +0200
committerAndreas Enge <andreas@enge.fr>2025-09-14 18:22:09 +0200
commit2f3c5fa2cf99d64ac17c448a41a98316582a7c41 (patch)
tree7ade71d3ed2767737454b24d969eb7894b1aa605 /gnu/packages/libusb.scm
parent63023deaf96bd0d90aba262b194bf1445ec5a0b6 (diff)
gnu: Remove python-capablerobot-usbhub.
* gnu/packages/libusb.scm (python-capablerobot-usbhub): Delete variable. Change-Id: I8c999d8f83bcee36af67f6cc19ed8b5de1121e2c
Diffstat (limited to 'gnu/packages/libusb.scm')
-rw-r--r--gnu/packages/libusb.scm49
1 files changed, 0 insertions, 49 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 61c43ceccbd..698df505fed 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -374,55 +374,6 @@ wrapper for accessing libusb-1.0.")
374 "PyUSB aims to be an easy to use Python module to access USB devices.") 374 "PyUSB aims to be an easy to use Python module to access USB devices.")
375 (license license:bsd-3))) 375 (license license:bsd-3)))
376 376
377(define-public python-capablerobot-usbhub
378 (package
379 (name "python-capablerobot-usbhub")
380 (version "0.5.0")
381 (source
382 (origin
383 ;; PyPI tarball fails to build.
384 (method git-fetch)
385 (uri (git-reference
386 (url "https://github.com/CapableRobot/CapableRobot_USBHub_Driver")
387 (commit (string-append "v" version))))
388 (file-name (git-file-name name version))
389 (sha256
390 (base32 "1nfd12612z9a9hby5dxg7lfqw5jcv3wcyqqagbg5izragni646mc"))))
391 (build-system pyproject-build-system)
392 (arguments
393 `(#:tests? #f ; No tests provided.
394 #:phases
395 (modify-phases %standard-phases
396 (add-after 'unpack 'use-poetry-core
397 (lambda _
398 ;; Patch to use the core poetry API.
399 (substitute* "pyproject.toml"
400 (("poetry.masonry.api")
401 "poetry.core.masonry.api"))))
402 (add-after 'install 'install-udev-rules
403 (lambda* (#:key outputs #:allow-other-keys)
404 (let ((out (assoc-ref outputs "out")))
405 (mkdir-p (string-append out "/lib/udev/rules.d"))
406 (copy-file "50-capablerobot-usbhub.rules"
407 (string-append out
408 "/lib/udev/rules.d/"
409 "50-capablerobot-usbhub.rules"))))))))
410 (native-inputs
411 (list python-poetry-core))
412 (propagated-inputs
413 (list python-click-7 python-construct python-pyusb python-pyyaml-5))
414 (home-page
415 "https://github.com/CapableRobot/CapableRobot_USBHub_Driver")
416 (synopsis
417 "Host side driver for the Capable Robot Programmable USB Hub")
418 (description
419 "This package provides access to the internal state of the Capable Robot
420USB Hub, allowing you to monitor and control the Hub from an upstream
421computer. It also creates a transparent CircuitPython Bridge, allowing
422unmodified CircuitPython code to run on the host computer and interact with
423I2C and SPI devices attached to the USB Hub.")
424 (license license:expat)))
425
426(define-public ideviceinstaller 377(define-public ideviceinstaller
427 (package 378 (package
428 (name "ideviceinstaller") 379 (name "ideviceinstaller")