mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-lief: Improve package.
* gnu/packages/python-xyz.scm (python-lief): Fix indentation and order of fields. [native-inputs]: Remove cmake-minimal; add python-tomli. Change-Id: Iaf2abc5538f7adfa606bef8b2fd92d035a54b163
This commit is contained in:
@@ -35590,27 +35590,31 @@ platform using the ActivityPub protocol.")
|
|||||||
(package
|
(package
|
||||||
(name "python-lief")
|
(name "python-lief")
|
||||||
(version "0.17.6")
|
(version "0.17.6")
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url "https://github.com/lief-project/LIEF")
|
(uri (git-reference
|
||||||
(commit version)))
|
(url "https://github.com/lief-project/LIEF")
|
||||||
(file-name (git-file-name name version))
|
(commit version)))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"1k3rl02ap6ldn8zdrj1c1vdxf4wx8jv9x5bgrlgph6h8hhc8miar"))))
|
(base32 "1k3rl02ap6ldn8zdrj1c1vdxf4wx8jv9x5bgrlgph6h8hhc8miar"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(native-inputs (list cmake-minimal
|
|
||||||
ninja
|
|
||||||
python-scikit-build-core
|
|
||||||
python-pydantic))
|
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:tests? #f ;needs network
|
;; TODO: Tests neeed some setup, see:
|
||||||
#:phases #~(modify-phases %standard-phases
|
;; <.github/workflows/linux-x86-64.yml>.
|
||||||
(add-before 'build 'change-directory
|
#:tests? #f
|
||||||
(lambda _
|
#:phases
|
||||||
(chdir "api/python"))))))
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'change-directory
|
||||||
|
(lambda _
|
||||||
|
(chdir "api/python"))))))
|
||||||
|
(native-inputs
|
||||||
|
(list ninja
|
||||||
|
python-pydantic
|
||||||
|
python-scikit-build-core
|
||||||
|
python-tomli))
|
||||||
(home-page "https://github.com/lief-project/LIEF")
|
(home-page "https://github.com/lief-project/LIEF")
|
||||||
(synopsis "Library to instrument executable formats")
|
(synopsis "Library to instrument executable formats")
|
||||||
(description
|
(description
|
||||||
|
|||||||
Reference in New Issue
Block a user