Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cthash] new port #42215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions ports/cthash/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO hanickadot/cthash
REF cb62928766c9623bf86072e412220d59a65407d4
SHA512 9ce214eff8772fcbdeac147ffdb7dadb8755bf101ed8b5fd5961ed57bfe314392dc42d40699ad1ff41d823cc132488ae936b2cb17615a1ce6740cba655e89498
HEAD_REF main
)

file(INSTALL "${SOURCE_PATH}/include/cthash" DESTINATION "${CURRENT_PACKAGES_DIR}/include")

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
7 changes: 7 additions & 0 deletions ports/cthash/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "cthash",
"version-date": "2024-11-16",
"description": "constexpr implementation of SHA-2 and SHA-3 family of hashes",
"homepage": "https://github.com/hanickadot/cthash",
"license": "Apache-2.0"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,10 @@
"baseline": "2020-09-14",
"port-version": 5
},
"cthash": {
"baseline": "2024-11-16",
"port-version": 0
},
"ctp": {
"baseline": "6.6.1_P1_20210406_se",
"port-version": 4
Expand Down
9 changes: 9 additions & 0 deletions versions/c-/cthash.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "cdb15ec2b446ecfcdac76ee974769b5dae96ebbd",
"version-date": "2024-11-16",
"port-version": 0
}
]
}