mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: solaar: Update to 1.0.4.
* gnu/packages/admin.scm (solaar): Update to 1.0.4. [arguments]: Remove custom 'fix-prefix-detection phase.
This commit is contained in:
parent
aed5b1ff98
commit
c385818245
1 changed files with 2 additions and 8 deletions
|
@ -3749,7 +3749,7 @@ (define-public python-pyudev
|
||||||
(define-public solaar
|
(define-public solaar
|
||||||
(package
|
(package
|
||||||
(name "solaar")
|
(name "solaar")
|
||||||
(version "0.9.2")
|
(version "1.0.4")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -3758,17 +3758,11 @@ (define-public solaar
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"085mfa13dap3wqik1dqlad0d7kff4rv7j4ljh99c7l8nhczkqgwm"))))
|
"15wzxxr2m5349kkvcs3k5clg1rsmvh6by2066qm4hlgvjwmigggy"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-prefix-detection
|
|
||||||
(lambda _
|
|
||||||
(substitute* "setup.py"
|
|
||||||
(("'--prefix' in sys\\.argv")
|
|
||||||
"len([x.startswith('--prefix=') for x in sys.argv]) > 0"))
|
|
||||||
#t))
|
|
||||||
(add-before 'build 'setenv-PATH
|
(add-before 'build 'setenv-PATH
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "PYTHONPATH" (string-append "lib:" (getenv "PYTHONPATH")))
|
(setenv "PYTHONPATH" (string-append "lib:" (getenv "PYTHONPATH")))
|
||||||
|
|
Loading…
Reference in a new issue