Merge pull request #107928 from sternenseemann/ocaml-mirage-console-4.0.0
ocamlPackages.mirage-console: 3.0.2 -> 4.0.0 and add -unix package
This commit is contained in:
commit
ad62a26d91
@ -4,13 +4,15 @@
|
|||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "mirage-console";
|
pname = "mirage-console";
|
||||||
version = "3.0.2";
|
version = "4.0.0";
|
||||||
|
|
||||||
|
minimumOCamlVersion = "4.08";
|
||||||
|
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-v${version}.tbz";
|
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-v${version}.tbz";
|
||||||
sha256 = "1fygk7pvlmwx6vd0h4cv9935xxhi64k2dgym41wf6qfkxgpp31lm";
|
sha256 = "11nwfd4kmmdzkrkhbakdi3cxhk8vi98l17960rgcf85c602gw6vp";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ lwt mirage-device mirage-flow ];
|
propagatedBuildInputs = [ lwt mirage-device mirage-flow ];
|
||||||
|
17
pkgs/development/ocaml-modules/mirage-console/unix.nix
Normal file
17
pkgs/development/ocaml-modules/mirage-console/unix.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ buildDunePackage, mirage-console, lwt, cstruct, cstruct-lwt }:
|
||||||
|
|
||||||
|
buildDunePackage {
|
||||||
|
pname = "mirage-console-unix";
|
||||||
|
|
||||||
|
inherit (mirage-console) version src useDune2 minimumOCamlVersion;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
mirage-console
|
||||||
|
cstruct
|
||||||
|
cstruct-lwt
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = mirage-console.meta // {
|
||||||
|
description = "Implementation of Mirage consoles for Unix";
|
||||||
|
};
|
||||||
|
}
|
@ -581,6 +581,8 @@ let
|
|||||||
|
|
||||||
mirage-console = callPackage ../development/ocaml-modules/mirage-console { };
|
mirage-console = callPackage ../development/ocaml-modules/mirage-console { };
|
||||||
|
|
||||||
|
mirage-console-unix = callPackage ../development/ocaml-modules/mirage-console/unix.nix { };
|
||||||
|
|
||||||
mirage-crypto = callPackage ../development/ocaml-modules/mirage-crypto { };
|
mirage-crypto = callPackage ../development/ocaml-modules/mirage-crypto { };
|
||||||
|
|
||||||
mirage-crypto-pk = callPackage ../development/ocaml-modules/mirage-crypto/pk.nix { };
|
mirage-crypto-pk = callPackage ../development/ocaml-modules/mirage-crypto/pk.nix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user