guix-patches--- via <guix-patches@gnu.org> writes:
Toggle quote (54 lines)
> * gnu/packages/engineering.scm (zycore): New variable.
>
> Change-Id: Ia38413f43bc667a9a12916d3f0e786e06f6d358f
> ---
> On 2024-08-15 at 16:19+02:00, Nicolas Graves wrote:
>> On 2024-07-31 19:14, Nguy?n Gia Phong via wrote:
>>
>> > * gnu/packages/engineering.scm (zycore): New variable.
>> >
>> > + (synopsis "Internal library for Zydis.")
>> A minor nitpick:
>> zycore@1.5.0: no period allowed at the end of the synopsis
>>
>> Checking `guix lint` would have told you ;)
>>
>> Otherwise LGTM, built and rebuilt deterministically.
>
> Thanks, this revision fixes that.
>
> I cannot get guix lint to tell that to me however
> (I ran `./pre-inst-env guix lint zycore`).
>
> gnu/packages/engineering.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 7a9c0bc436f7..24dc4f0197c7 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -40,6 +40,7 @@
> ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
> ;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
> ;;; Copyright © 2024 Juliana Sims <juli@incana.org>
> +;;; Copyright © 2024 Nguy?n Gia Phong <mcsinyx@disroot.org>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -1927,6 +1928,29 @@ (define-public radare2
> it suitable for security research and analysis.")
> (license license:lgpl3)))
>
> +(define-public zycore
> + (package
> + (name "zycore")
> + (version "1.5.0")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/zyantific/zycore-c")
> + (commit (string-append "v" version))))
> + (sha256
> + (base32 "0s962pkqybh1xbs75y4jb4bqc9qnq0sviqd570mirqdhhq87agib"))
> + (file-name (git-file-name name version))))
i move file-name before sha256.
Toggle quote (3 lines)
> + (build-system cmake-build-system)
> + (native-inputs (list googletest))
> + (arguments `(#:configure-flags '("-DZYCORE_BUILD_SHARED_LIBS=ON"
is ZYCORE_BUILD_SHARED_LIB
Toggle quote (1 lines)
> + "-DZYCORE_BUILD_TESTS=ON")))
i adjust to use gexp, and disable ZYCORE_BUILD_TESTS on cross-compilation.
Toggle quote (12 lines)
> + (synopsis "Internal library for Zydis")
> + (description
> + "This package provides platfrom-independent types, macros
> +and a fallback for environments without libc for Zydis.")
> + (license license:expat)))
> +
> (define-public asco
> (package
> (name "asco")
>
> base-commit: 41c44ffd5659d13f5c1edb78d92ad27275ead78a
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmbC430ACgkQO1qpk+Gi
3/BN3hAAuHDTHrbl3mTrljiLEKulOyIAgqMa15a4/wvByM2cvd0dzeWxsPEx4DvZ
iV1sIb6xiVRaAPglx9NLaoIDhvGCd0I2SdUvCV7sFl6zCrZmiQx9aXzhqpTL/7dm
ATiTQ6yu1E1RQJfad/cY4n57gI37hzUFjivBNqgDj+eJUOJCs5amg1ZRO8Qm+hkS
K/yvHWfQ+puuvyPZ9fCXMh1JrGz6RqcSKLyu/LzR/fydd6ZPH2qnfZc819Uahaq+
q2Z99sb0FiruG6nb5MTUAop4tIHCtuLf5S6hDokWRaf+OpY7soZNZs7vO2QRZlec
WLZlUOtn6/l723GqLAU+wXpngwF7o5Pfq3jijiC1VD63Bt8An43B595tJWOJD7tB
Fi87mRDp9qExfE4lpugFBAwM0hv7hqUZ0d8SZUUAlaUHmIWIc9r+fdWvENSicipq
CR3k9rmrfEvOdtfCWO/Fb5fUVXjiAxj/Axd7b5pL0hCqTCKa2AzPuI6pOmCLGhEd
3t0nPW19wqpCN9a9VvVSAZzJWHy6Bqkd33UARVrb40oIxGjYBzXTSkE04oonnHDD
iLehlpurahyUzL0YzBJ/N2kJOjoYIL3GCUVDKMWIz0i4T+Idkneql3HjUlt2g+Wh
YFtxMwe9impJG6RF67XeB8FrOyKy4Ip/wYp+qq6HL9g3dHLzL8o=
=OEkw
-----END PGP SIGNATURE-----