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

monocypher: new with v4.0.2-1 #1763

Open
wants to merge 3 commits 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
5 changes: 5 additions & 0 deletions ci_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,11 @@
],
"skip_tests": true
},
"monocypher": {
"build_on": {
"windows": false
}
},
"mpdecimal": {
"build_options": [
"mpdecimal:examples=true",
Expand Down
8 changes: 8 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -2424,6 +2424,14 @@
"1.0-2"
]
},
"monocypher": {
"dependency_names": [
"monocypher"
],
"versions": [
"4.0.2-1"
]
},
"mpdecimal": {
"dependency_names": [
"mpdec",
Expand Down
9 changes: 9 additions & 0 deletions subprojects/monocypher.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[wrap-file]
source_url = https://github.com/LoupVaillant/Monocypher/releases/download/4.0.2/monocypher-4.0.2.tar.gz
directory = monocypher-4.0.2
source_filename = monocypher-4.0.2.tar.gz
source_hash = 38d07179738c0c90677dba3ceb7a7b8496bcfea758ba1a53e803fed30ae0879c
patch_directory = monocypher

[provide]
monocypher = monocypher_dep
30 changes: 30 additions & 0 deletions subprojects/packagefiles/monocypher/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
project(
'monocypher', 'c',
version: '4.0.2',
license: 'CC0-1.0'
)

monocypher_lib = library(
'monocypher', [
'src/monocypher.c',
'src/optional/monocypher-ed25519.c',
],
include_directories: ['src', 'src/optional'],
install: true,
)

monocypher_dep = declare_dependency(
include_directories: ['src', 'src/optional'],
link_with: monocypher_lib,
)

monocypher_test = executable(
'monocypher_test', [
'tests/test.c',
'tests/utils.c',
],
include_directories: ['tests'],
dependencies: monocypher_dep,
)

test('monocypher', monocypher_test)
Loading