gnu: solaar: Switch to pyproject.

* gnu/packages/admin.scm (solaar)[build-system]: Switch to
pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel, python-pytest-mock
and python-typing-extensions.

Change-Id: Ic4bebcf4d616d759c184eb096cbc085d505935fd
This commit is contained in:
Sharlatan Hellseher 2025-06-17 18:49:18 +01:00
parent d8a799c774
commit df41175c65
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5125,23 +5125,22 @@ cache of unix and unix-like systems.")
(package (package
(name "solaar") (name "solaar")
(version "1.1.14") (version "1.1.14")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/pwr-Solaar/Solaar") (uri (git-reference
(commit version))) (url "https://github.com/pwr-Solaar/Solaar")
(file-name (git-file-name name version)) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"000700waw4z6ab40naycapjgqz8yvz9ny1px94ni4pwf8f3kh0vh")))) (base32 "000700waw4z6ab40naycapjgqz8yvz9ny1px94ni4pwf8f3kh0vh"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (native-inputs
`(#:phases (list python-pytest
(modify-phases %standard-phases python-pytest-mock
(add-before 'build 'setenv-PATH python-setuptools
(lambda _ python-typing-extensions
(setenv "PYTHONPATH" "lib")))))) python-wheel))
(native-inputs (list python-pytest))
(propagated-inputs (propagated-inputs
(list python-pygobject (list python-pygobject
python-pyudev python-pyudev