diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-10-23 22:10:53 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 21:02:42 +0000 |
| commit | e3f81f5955b1c043cefb1a383bdd6be4e7c131e9 (patch) | |
| tree | f50d9f4b5f98846597baccf136390e0681a13044 /gnu | |
| parent | b9c385a274197c6ffa4ace82e31264e484ce16ae (diff) | |
gnu: python-usbrelay: Fix build.
* gnu/packages/hardware.scm (python-usbrelay): Fix build.
[arguments] <#:phases>: Replace 'check phase.
[native-inputs]: Remove python-wheel.
Change-Id: I8b1de9158c277e83775fad4cab9ce56f87a8caab
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/hardware.scm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 5df8768dd87..6d62734954a 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm | |||
| @@ -1772,8 +1772,7 @@ output relays.") | |||
| 1772 | (name "python-usbrelay") | 1772 | (name "python-usbrelay") |
| 1773 | (build-system pyproject-build-system) | 1773 | (build-system pyproject-build-system) |
| 1774 | (native-inputs | 1774 | (native-inputs |
| 1775 | (list python-setuptools | 1775 | (list python-setuptools)) |
| 1776 | python-wheel)) | ||
| 1777 | (inputs | 1776 | (inputs |
| 1778 | (list usbrelay)) | 1777 | (list usbrelay)) |
| 1779 | (propagated-inputs | 1778 | (propagated-inputs |
| @@ -1791,7 +1790,11 @@ output relays.") | |||
| 1791 | (chmod (string-append #$output "/sbin/usbrelayd") #o555))) | 1790 | (chmod (string-append #$output "/sbin/usbrelayd") #o555))) |
| 1792 | (add-after 'install-daemon 'chdir | 1791 | (add-after 'install-daemon 'chdir |
| 1793 | (lambda _ | 1792 | (lambda _ |
| 1794 | (chdir "usbrelay_py")))))) | 1793 | (chdir "usbrelay_py"))) |
| 1794 | (replace 'check | ||
| 1795 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 1796 | (when tests? | ||
| 1797 | (invoke "python" "tests/usbrelay_test.py"))))))) | ||
| 1795 | (synopsis "Python library to control USB relay modules") | 1798 | (synopsis "Python library to control USB relay modules") |
| 1796 | (description | 1799 | (description |
| 1797 | "This is the Python extension to @code{usbrelay}, a Linux driver based on | 1800 | "This is the Python extension to @code{usbrelay}, a Linux driver based on |
