ocamlPackages.awa: init at 0.0.1

authored by

sternenseemann and committed by
Vincent Laporte
426a0a6c 156071bf

+74
+38
pkgs/development/ocaml-modules/awa/default.nix
···
··· 1 + { lib, buildDunePackage, fetchurl 2 + , ppx_sexp_conv, ppx_cstruct 3 + , mirage-crypto, mirage-crypto-rng, mirage-crypto-pk 4 + , x509, cstruct, cstruct-unix, cstruct-sexp, sexplib 5 + , rresult, mtime, logs, fmt, cmdliner, base64, hacl_x25519 6 + , zarith 7 + }: 8 + 9 + buildDunePackage rec { 10 + pname = "awa"; 11 + version = "0.0.1"; 12 + 13 + minimumOCamlVersion = "4.07"; 14 + useDune2 = true; 15 + 16 + src = fetchurl { 17 + url = "https://github.com/mirage/awa-ssh/releases/download/v${version}/awa-v${version}.tbz"; 18 + sha256 = "c1d604645517b191184a5800f5c48a6a9a3e5a2fce4a0e2ecfeee74586301400"; 19 + }; 20 + 21 + nativeBuildInputs = [ ppx_sexp_conv ppx_cstruct ]; 22 + 23 + propagatedBuildInputs = [ 24 + mirage-crypto mirage-crypto-rng mirage-crypto-pk x509 25 + cstruct cstruct-sexp sexplib rresult mtime 26 + logs base64 hacl_x25519 zarith 27 + ]; 28 + 29 + doCheck = true; 30 + checkInputs = [ cstruct-unix cmdliner fmt ]; 31 + 32 + meta = with lib; { 33 + description = "SSH implementation in OCaml"; 34 + license = licenses.isc; 35 + homepage = "https://github.com/mirage/awa-ssh"; 36 + maintainers = [ maintainers.sternenseemann ]; 37 + }; 38 + }
+15
pkgs/development/ocaml-modules/awa/lwt.nix
···
··· 1 + { buildDunePackage, awa 2 + , cstruct, mtime, lwt, cstruct-unix, mirage-crypto-rng 3 + }: 4 + 5 + buildDunePackage { 6 + pname = "awa-lwt"; 7 + 8 + inherit (awa) version src useDune2; 9 + 10 + propagatedBuildInputs = [ 11 + awa cstruct mtime lwt cstruct-unix mirage-crypto-rng 12 + ]; 13 + 14 + inherit (awa) meta; 15 + }
+15
pkgs/development/ocaml-modules/awa/mirage.nix
···
··· 1 + { buildDunePackage, awa 2 + , cstruct, mtime, lwt, mirage-flow, mirage-clock, logs 3 + }: 4 + 5 + buildDunePackage { 6 + pname = "awa-mirage"; 7 + 8 + inherit (awa) version src useDune2; 9 + 10 + propagatedBuildInputs = [ 11 + awa cstruct mtime lwt mirage-flow mirage-clock logs 12 + ]; 13 + 14 + inherit (awa) meta; 15 + }
+6
pkgs/top-level/ocaml-packages.nix
··· 44 45 atdgen = callPackage ../development/ocaml-modules/atdgen { }; 46 47 base64 = callPackage ../development/ocaml-modules/base64 { }; 48 49 bap = callPackage ../development/ocaml-modules/bap {
··· 44 45 atdgen = callPackage ../development/ocaml-modules/atdgen { }; 46 47 + awa = callPackage ../development/ocaml-modules/awa { }; 48 + 49 + awa-lwt = callPackage ../development/ocaml-modules/awa/lwt.nix { }; 50 + 51 + awa-mirage = callPackage ../development/ocaml-modules/awa/mirage.nix { }; 52 + 53 base64 = callPackage ../development/ocaml-modules/base64 { }; 54 55 bap = callPackage ../development/ocaml-modules/bap {