A repository of opam repositories, for use by oi
1opam-version: "2.0"
2synopsis: "Content Security Policy header generation"
3description: """\
4Generate Content-Security-Policy HTTP headers with sensible defaults.
5Supports strict and relaxed policies, popular CDN allowlists, and
6customizable directives. Implements W3C CSP Level 2/3."""
7maintainer: "thomas@gazagnaire.org"
8authors: "Thomas Gazagnaire"
9license: "ISC"
10tags: ["org:blacksun" "network" "crypto"]
11homepage: "https://tangled.org/gazagnaire.org/ocaml-csp"
12bug-reports: "https://tangled.org/gazagnaire.org/ocaml-csp/issues"
13depends: [
14 "ocaml" {>= "5.0.0"}
15 "dune" {>= "3.21"}
16 "mdx" {with-test}
17 "alcotest" {with-test}
18 "odoc" {with-doc}
19]
20build: [
21 ["dune" "subst"] {dev}
22 [
23 "dune"
24 "build"
25 "-p"
26 name
27 "-j"
28 jobs
29 "@install"
30 "@runtest" {with-test}
31 "@doc" {with-doc}
32 ]
33]
34dev-repo: "git+https://tangled.org/gazagnaire.org/ocaml-csp"
35url {
36 src:
37 "git+https://tangled.org/gazagnaire.org/ocaml-csp#9a69843ee76ff275b86713a097b3dd9e8d36c482"
38}
39x-d10-archive:
40 "bb498e0c9cd45881988c1b7eaf5d9eec756f23219869753361afcf5d6131b808"
41x-maintenance-intent: ["(latest)"]
42x-oi-source-url: "git+https://tangled.org/gazagnaire.org/ocaml-csp#main"
43x-quality-build: "2026-04-15"
44x-quality-test: "2026-04-15"