Loading pkgs/development/ocaml-modules/chacha/default.nix +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ buildDunePackage rec { owner = "abeaumont"; repo = "ocaml-chacha"; rev = version; sha256 = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k="; hash = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k="; }; # Ensure compatibility with cstruct ≥ 6.1.0 Loading @@ -27,6 +27,7 @@ buildDunePackage rec { })]; minimalOCamlVersion = "4.02"; duneVersion = "3"; propagatedBuildInputs = [ cstruct mirage-crypto ]; Loading pkgs/development/ocaml-modules/http-mirage-client/default.nix 0 → 100644 +63 −0 Original line number Diff line number Diff line { lib , fetchurl , fetchpatch , buildDunePackage , h2 , httpaf , mimic-happy-eyeballs , mirage-clock , paf , tcpip , x509 , alcotest-lwt , mirage-clock-unix , mirage-crypto-rng , mirage-time-unix }: buildDunePackage rec { pname = "http-mirage-client"; version = "0.0.2"; duneVersion = "3"; minimalOCamlVersion = "4.08"; src = fetchurl { url = "https://github.com/roburio/http-mirage-client/releases/download/v${version}/http-mirage-client-${version}.tbz"; hash = "sha256-stom13t3Kn1ehkeURem39mxhd3Lmlz8z9m3tHGcp5vY="; }; # Make tests use mirage-crypto patches = lib.lists.map fetchpatch [ { url = "https://github.com/roburio/http-mirage-client/commit/c6cd38db9c23ac23e7c3e4cf2d41420f58034e8d.patch"; hash = "sha256-b3rurqF0DxLpVQEhVfROwc7qyul0Fjfl3zhD8AkzemU="; } { url = "https://github.com/roburio/http-mirage-client/commit/0a5367e7c6d9b7f45c88493f7a596f7a83e8c7d5.patch"; hash = "sha256-Q6YlfuiAfsyhty9EvoBetvekuU25KjrH5wwGwYTAAiA="; } ]; propagatedBuildInputs = [ h2 httpaf mimic-happy-eyeballs mirage-clock paf tcpip x509 ]; doCheck = true; checkInputs = [ alcotest-lwt mirage-clock-unix mirage-crypto-rng mirage-time-unix ]; meta = { description = "HTTP client for MirageOS"; homepage = "https://github.com/roburio/http-mirage-client"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; }; } pkgs/development/ocaml-modules/letsencrypt/mirage.nix 0 → 100644 +20 −0 Original line number Diff line number Diff line { buildDunePackage , letsencrypt , emile , http-mirage-client , paf }: buildDunePackage { pname = "letsencrypt-mirage"; inherit (letsencrypt) version src; duneVersion = "3"; propagatedBuildInputs = [ emile http-mirage-client letsencrypt paf ]; meta = letsencrypt.meta // { description = "ACME implementation in OCaml for MirageOS"; }; } pkgs/development/ocaml-modules/mirage-crypto/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ buildDunePackage rec { minimalOCamlVersion = "4.08"; duneVersion = "3"; pname = "mirage-crypto"; version = "0.11.0"; Loading pkgs/development/ocaml-modules/mirage-crypto/ec.nix +2 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,8 @@ buildDunePackage rec { src version; duneVersion = "3"; nativeBuildInputs = [ pkg-config ]; buildInputs = [ dune-configurator Loading Loading
pkgs/development/ocaml-modules/chacha/default.nix +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ buildDunePackage rec { owner = "abeaumont"; repo = "ocaml-chacha"; rev = version; sha256 = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k="; hash = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k="; }; # Ensure compatibility with cstruct ≥ 6.1.0 Loading @@ -27,6 +27,7 @@ buildDunePackage rec { })]; minimalOCamlVersion = "4.02"; duneVersion = "3"; propagatedBuildInputs = [ cstruct mirage-crypto ]; Loading
pkgs/development/ocaml-modules/http-mirage-client/default.nix 0 → 100644 +63 −0 Original line number Diff line number Diff line { lib , fetchurl , fetchpatch , buildDunePackage , h2 , httpaf , mimic-happy-eyeballs , mirage-clock , paf , tcpip , x509 , alcotest-lwt , mirage-clock-unix , mirage-crypto-rng , mirage-time-unix }: buildDunePackage rec { pname = "http-mirage-client"; version = "0.0.2"; duneVersion = "3"; minimalOCamlVersion = "4.08"; src = fetchurl { url = "https://github.com/roburio/http-mirage-client/releases/download/v${version}/http-mirage-client-${version}.tbz"; hash = "sha256-stom13t3Kn1ehkeURem39mxhd3Lmlz8z9m3tHGcp5vY="; }; # Make tests use mirage-crypto patches = lib.lists.map fetchpatch [ { url = "https://github.com/roburio/http-mirage-client/commit/c6cd38db9c23ac23e7c3e4cf2d41420f58034e8d.patch"; hash = "sha256-b3rurqF0DxLpVQEhVfROwc7qyul0Fjfl3zhD8AkzemU="; } { url = "https://github.com/roburio/http-mirage-client/commit/0a5367e7c6d9b7f45c88493f7a596f7a83e8c7d5.patch"; hash = "sha256-Q6YlfuiAfsyhty9EvoBetvekuU25KjrH5wwGwYTAAiA="; } ]; propagatedBuildInputs = [ h2 httpaf mimic-happy-eyeballs mirage-clock paf tcpip x509 ]; doCheck = true; checkInputs = [ alcotest-lwt mirage-clock-unix mirage-crypto-rng mirage-time-unix ]; meta = { description = "HTTP client for MirageOS"; homepage = "https://github.com/roburio/http-mirage-client"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; }; }
pkgs/development/ocaml-modules/letsencrypt/mirage.nix 0 → 100644 +20 −0 Original line number Diff line number Diff line { buildDunePackage , letsencrypt , emile , http-mirage-client , paf }: buildDunePackage { pname = "letsencrypt-mirage"; inherit (letsencrypt) version src; duneVersion = "3"; propagatedBuildInputs = [ emile http-mirage-client letsencrypt paf ]; meta = letsencrypt.meta // { description = "ACME implementation in OCaml for MirageOS"; }; }
pkgs/development/ocaml-modules/mirage-crypto/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ buildDunePackage rec { minimalOCamlVersion = "4.08"; duneVersion = "3"; pname = "mirage-crypto"; version = "0.11.0"; Loading
pkgs/development/ocaml-modules/mirage-crypto/ec.nix +2 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,8 @@ buildDunePackage rec { src version; duneVersion = "3"; nativeBuildInputs = [ pkg-config ]; buildInputs = [ dune-configurator Loading