gnu: python-pyusb: Update to 1.2.1.

* gnu/packages/libusb.scm (python-pyusb): Update to 1.2.1.
[native-inputs]: Add python-setuptools-scm.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Simon South 2023-07-14 15:45:35 -04:00 committed by 宋文武
parent a74604c0f0
commit 21b718f4d6
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -274,14 +274,14 @@ (define-public python-libusb1
(define-public python-pyusb (define-public python-pyusb
(package (package
(name "python-pyusb") (name "python-pyusb")
(version "1.0.2") (version "1.2.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pyusb" version)) (uri (pypi-uri "pyusb" version))
(sha256 (sha256
(base32 (base32
"0qkk2jn270jwwl1x26hmdhb14m9kkbrzzwzizdjcl1a29b6756sf")))) "1fg7knfzybzija2b01pzrzhzsj989scl12sb2ra4f503l8279k54"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:tests? #f ; no tests `(#:tests? #f ; no tests
@ -302,6 +302,9 @@ (define-public python-pyusb
"^libusb-.*\\.so\\..*")) "^libusb-.*\\.so\\..*"))
"\""))) "\"")))
#t))))) #t)))))
(native-inputs
(list python-setuptools-scm))
(inputs (inputs
(list libusb)) (list libusb))
(home-page "https://pyusb.github.io/pyusb/") (home-page "https://pyusb.github.io/pyusb/")