this repo has no description
1opam-version: "2.0" 2homepage: "https://github.com/mirleft/ocaml-nocrypto" 3dev-repo: "git+https://github.com/mirleft/ocaml-nocrypto.git" 4bug-reports: "https://github.com/mirleft/ocaml-nocrypto/issues" 5doc: "https://mirleft.github.io/ocaml-nocrypto/doc" 6authors: ["David Kaloper <david@numm.org>"] 7maintainer: "David Kaloper <david@numm.org>" 8license: "ISC" 9tags: [ "org:mirage" ] 10build: ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" 11 "--jobs" "1" 12 "--with-lwt" "%{lwt:installed}%" 13 "--xen" "%{mirage-xen:installed}%" 14 "--freestanding" "%{mirage-solo5:installed}%"] 15 16depends: [ 17 "ocaml" {>= "4.02.0" & != "4.08.0"} 18 "ocamlfind" {build} 19 "ocamlbuild" {build} 20 "topkg" {build & >= "0.9.1"} 21 "cpuid" {build & >= "0.1.2"} 22 "ocb-stubblr" {build & >= "0.1.0"} 23 "ppx_deriving" {>= "4.2"} 24 "ppx_sexp_conv" {>= "113.33.01" & != "v0.11.0"} 25 "ounit" {with-test} 26 "cstruct" {>= "3.0.0" & < "6.1.0"} 27 "cstruct-lwt" 28 "zarith" 29 "lwt" 30 "sexplib" {!= "v0.9.0"} 31 ("mirage-no-xen" | 32 ("mirage-xen" {>="2.2.0" & < "6.0.0"} 33 & "mirage-entropy" 34 & "zarith-xen")) 35 ("mirage-no-solo5" | 36 ("mirage-solo5" & "mirage-entropy" & "zarith-freestanding")) 37] 38 39patches: [ 40 "0001-add-missing-runtime-dependencies-in-_tags.patch" 41 "0002-add-ppx_sexp_conv-as-a-runtime-dependency-in-the-pac.patch" 42 "0003-Auto-detect-ppx_sexp_conv-runtime-library.patch" 43 "0004-pack-package-workaround-ocamlbuild-272.patch" 44 "0005-use-modern-cstruct-findlib.patch" 45 "0006-explicit-dependency-on-sexplib.patch" 46] 47synopsis: "Simpler crypto" 48description: """ 49nocrypto is a small cryptographic library that puts emphasis on the applicative 50style and ease of use. It includes basic ciphers (AES, 3DES, RC4), hashes (MD5, 51SHA1, SHA2), public-key primitives (RSA, DSA, DH) and a strong RNG (Fortuna). 52 53RSA timing attacks are countered by blinding. AES timing attacks are avoided by 54delegating to AES-NI.""" 55url { 56 src: 57 "https://github.com/mirleft/ocaml-nocrypto/releases/download/v0.5.4/nocrypto-0.5.4.tbz" 58 checksum: [ 59 "sha256=8f720c8753136706ae14d46ba85e27f482a8b3e9ceccf08b0de63348618a507f" 60 "md5=c331a7a4d2a563d1d5ed581aeb849011" 61 ] 62} 63extra-source "0006-explicit-dependency-on-sexplib.patch" { 64 src: 65 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/nocrypto/0006-explicit-dependency-on-sexplib.patch" 66 checksum: [ 67 "sha256=9822bdb072fc6c2e6e86f42098d24723ea0500a5213fa2635e2fbe68cd0541fe" 68 "md5=7f552e18ba304eb4e1e19d66d19b7888" 69 ] 70} 71extra-source "0005-use-modern-cstruct-findlib.patch" { 72 src: 73 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/nocrypto/0005-use-modern-cstruct-findlib.patch" 74 checksum: [ 75 "sha256=2957ae6999c8fbfe717ec01c4014c02bf63de46a61fe02047df7b0b4cbd094cc" 76 "md5=4d4aab890f0ca9327d83548c32d64efc" 77 ] 78} 79extra-source "0004-pack-package-workaround-ocamlbuild-272.patch" { 80 src: 81 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/nocrypto/0004-pack-package-workaround-ocamlbuild-272.patch" 82 checksum: [ 83 "sha256=7c6391be9369acaf60bc0fa00fd30ac5dd5d460ec4874f24027b875734a8286f" 84 "md5=94615e4a8d5976e9e75c3b031d3484f1" 85 ] 86} 87extra-source "0003-Auto-detect-ppx_sexp_conv-runtime-library.patch" { 88 src: 89 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/nocrypto/0003-Auto-detect-ppx_sexp_conv-runtime-library.patch" 90 checksum: [ 91 "sha256=4d1da59e80075658472fbfa3e0042090b5c9081c0e879c913ec15b2a6a2b690e" 92 "md5=871b3f904cf87527b7390993d5598884" 93 ] 94} 95extra-source "0002-add-ppx_sexp_conv-as-a-runtime-dependency-in-the-pac.patch" { 96 src: 97 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/nocrypto/0002-add-ppx_sexp_conv-as-a-runtime-dependency-in-the-pac.patch" 98 checksum: [ 99 "sha256=c3a09577c9a892d0f9e77ac3e63b4ba546bc9d9692607ecc4958910a2137c946" 100 "md5=06962f4f2f5b4c3f1e39293b3d3528f2" 101 ] 102} 103extra-source "0001-add-missing-runtime-dependencies-in-_tags.patch" { 104 src: 105 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/nocrypto/0001-add-missing-runtime-dependencies-in-_tags.patch" 106 checksum: [ 107 "sha256=c1ffcc3dbbc806b2bbfed07141e79ea1b7479c6838cefff3ca648fe58f4f0f20" 108 "md5=ae679a096e14c0a0ecb881bc7432cc2a" 109 ] 110}