mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-lief: Update to 0.16.6.
* gnu/packages/python-xyz.scm (python-lief): Update to 0.16.6. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add ninja, python-scikit-build-core, python-pydantic-2. Replace cmake with cmake-minimal. [arguments]<#:phases>: Use ‘build’ phase from the build system. Change directory to "api/python" before build. Change-Id: I8489ed2a3e73ec3ab202d25beae53d320b8808ed Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
a755edec43
commit
b99a2f21d1
1 changed files with 9 additions and 9 deletions
|
@ -39293,7 +39293,7 @@ platform using the ActivityPub protocol.")
|
|||
(define-public python-lief
|
||||
(package
|
||||
(name "python-lief")
|
||||
(version "0.12.3")
|
||||
(version "0.16.6")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -39302,19 +39302,19 @@ platform using the ActivityPub protocol.")
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"11i6hqmcjh56y554kqhl61698n9v66j2qk1c1g63mv2w07h2z661"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs (list cmake))
|
||||
"1pq9nagrnkl1x943bqnpiyxmkd9vk99znfxiwqp6vf012b50bz2a"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs (list cmake-minimal
|
||||
ninja
|
||||
python-scikit-build-core
|
||||
python-pydantic-2))
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;needs network
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(replace 'build
|
||||
(add-before 'build 'change-directory
|
||||
(lambda _
|
||||
(invoke
|
||||
"python" "setup.py" "--sdk" "build"
|
||||
(string-append
|
||||
"-j" (number->string (parallel-job-count)))))))))
|
||||
(chdir "api/python"))))))
|
||||
(home-page "https://github.com/lief-project/LIEF")
|
||||
(synopsis "Library to instrument executable formats")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue