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
(name "solaar")
(version "1.1.14")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pwr-Solaar/Solaar")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"000700waw4z6ab40naycapjgqz8yvz9ny1px94ni4pwf8f3kh0vh"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'setenv-PATH
(lambda _
(setenv "PYTHONPATH" "lib"))))))
(native-inputs (list python-pytest))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pwr-Solaar/Solaar")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "000700waw4z6ab40naycapjgqz8yvz9ny1px94ni4pwf8f3kh0vh"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-pytest-mock
python-setuptools
python-typing-extensions
python-wheel))
(propagated-inputs
(list python-pygobject
python-pyudev