Skip to content

Commit

Permalink
monocypher: new with v4.0.2-1
Browse files Browse the repository at this point in the history
  • Loading branch information
rtgiskard committed Oct 27, 2024
1 parent 7b8c1a0 commit 407fb44
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
8 changes: 8 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -2415,6 +2415,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
19 changes: 19 additions & 0 deletions subprojects/packagefiles/monocypher/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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,
)

0 comments on commit 407fb44

Please sign in to comment.