ocamlPackages.awa: 0.0.5 → 0.1.0

Changed files
+15 -11
pkgs
development
ocaml-modules
+7 -8
pkgs/development/ocaml-modules/awa/default.nix
···
{ lib, buildDunePackage, fetchurl
, ppx_sexp_conv, ppx_cstruct
-
, mirage-crypto, mirage-crypto-rng, mirage-crypto-pk
, x509, cstruct, cstruct-unix, cstruct-sexp, sexplib, eqaf
-
, rresult, mtime, logs, fmt, cmdliner, base64, hacl_x25519
, zarith
}:
buildDunePackage rec {
pname = "awa";
-
version = "0.0.5";
-
minimumOCamlVersion = "4.07";
-
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/awa-ssh/releases/download/v${version}/awa-${version}.tbz";
-
sha256 = "14hqzmikp3hlynhs0wnwj2491106if183swsl7ldk4215a0b7ms4";
};
nativeBuildInputs = [ ppx_cstruct ];
propagatedBuildInputs = [
-
mirage-crypto mirage-crypto-rng mirage-crypto-pk x509
cstruct cstruct-sexp sexplib mtime
-
logs base64 hacl_x25519 zarith
ppx_sexp_conv eqaf
];
···
{ lib, buildDunePackage, fetchurl
, ppx_sexp_conv, ppx_cstruct
+
, 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
, zarith
}:
buildDunePackage rec {
pname = "awa";
+
version = "0.1.0";
+
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/awa-ssh/releases/download/v${version}/awa-${version}.tbz";
+
sha256 = "sha256-aPnFDp52oYVHr/56lFw0gtVJ0KvHawyM5FGtpHPOVY8=";
};
nativeBuildInputs = [ ppx_cstruct ];
propagatedBuildInputs = [
+
mirage-crypto mirage-crypto-ec mirage-crypto-rng mirage-crypto-pk x509
cstruct cstruct-sexp sexplib mtime
+
logs base64 zarith
ppx_sexp_conv eqaf
];
+5 -2
pkgs/development/ocaml-modules/awa/lwt.nix
···
buildDunePackage {
pname = "awa-lwt";
-
inherit (awa) version src useDune2;
propagatedBuildInputs = [
-
awa cstruct mtime lwt cstruct-unix mirage-crypto-rng
];
meta = awa.meta // { mainProgram = "awa_lwt_server"; };
}
···
buildDunePackage {
pname = "awa-lwt";
+
inherit (awa) version src;
propagatedBuildInputs = [
+
awa cstruct mtime lwt mirage-crypto-rng
];
+
+
doCheck = true;
+
checkInputs = [ cstruct-unix ];
meta = awa.meta // { mainProgram = "awa_lwt_server"; };
}
+3 -1
pkgs/development/ocaml-modules/awa/mirage.nix
···
{ buildDunePackage, awa
, cstruct, mtime, lwt, mirage-flow, mirage-clock, logs
}:
buildDunePackage {
pname = "awa-mirage";
-
inherit (awa) version src useDune2;
propagatedBuildInputs = [
awa cstruct mtime lwt mirage-flow mirage-clock logs
];
inherit (awa) meta;
···
{ buildDunePackage, awa
, cstruct, mtime, lwt, mirage-flow, mirage-clock, logs
+
, duration, mirage-time
}:
buildDunePackage {
pname = "awa-mirage";
+
inherit (awa) version src;
propagatedBuildInputs = [
awa cstruct mtime lwt mirage-flow mirage-clock logs
+
duration mirage-time
];
inherit (awa) meta;