ocamlPackages.awa: 0.0.5 → 0.1.0

This commit is contained in:
Vincent Laporte 2022-06-25 18:41:04 +02:00 committed by Vincent Laporte
parent eced91d2f8
commit f5ad4e7964
3 changed files with 15 additions and 11 deletions

View file

@ -1,29 +1,28 @@
{ lib, buildDunePackage, fetchurl
, ppx_sexp_conv, ppx_cstruct
, mirage-crypto, mirage-crypto-rng, mirage-crypto-pk
, mirage-crypto, mirage-crypto-ec, mirage-crypto-rng, mirage-crypto-pk
, x509, cstruct, cstruct-unix, cstruct-sexp, sexplib, eqaf
, rresult, mtime, logs, fmt, cmdliner, base64, hacl_x25519
, rresult, mtime, logs, fmt, cmdliner, base64
, zarith
}:
buildDunePackage rec {
pname = "awa";
version = "0.0.5";
version = "0.1.0";
minimumOCamlVersion = "4.07";
useDune2 = true;
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/awa-ssh/releases/download/v${version}/awa-${version}.tbz";
sha256 = "14hqzmikp3hlynhs0wnwj2491106if183swsl7ldk4215a0b7ms4";
sha256 = "sha256-aPnFDp52oYVHr/56lFw0gtVJ0KvHawyM5FGtpHPOVY8=";
};
nativeBuildInputs = [ ppx_cstruct ];
propagatedBuildInputs = [
mirage-crypto mirage-crypto-rng mirage-crypto-pk x509
mirage-crypto mirage-crypto-ec mirage-crypto-rng mirage-crypto-pk x509
cstruct cstruct-sexp sexplib mtime
logs base64 hacl_x25519 zarith
logs base64 zarith
ppx_sexp_conv eqaf
];

View file

@ -5,11 +5,14 @@
buildDunePackage {
pname = "awa-lwt";
inherit (awa) version src useDune2;
inherit (awa) version src;
propagatedBuildInputs = [
awa cstruct mtime lwt cstruct-unix mirage-crypto-rng
awa cstruct mtime lwt mirage-crypto-rng
];
doCheck = true;
checkInputs = [ cstruct-unix ];
meta = awa.meta // { mainProgram = "awa_lwt_server"; };
}

View file

@ -1,14 +1,16 @@
{ buildDunePackage, awa
, cstruct, mtime, lwt, mirage-flow, mirage-clock, logs
, duration, mirage-time
}:
buildDunePackage {
pname = "awa-mirage";
inherit (awa) version src useDune2;
inherit (awa) version src;
propagatedBuildInputs = [
awa cstruct mtime lwt mirage-flow mirage-clock logs
duration mirage-time
];
inherit (awa) meta;