forked from mirrors/nixpkgs
Merge pull request #223540 from vbgl/ocaml-cstruct-6.2.0
ocamlPackages.cstruct: 6.1.1 → 6.2.0
This commit is contained in:
commit
03d63fa0ac
|
@ -4,6 +4,7 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
pname = "asn1-combinators";
|
||||
version = "0.2.6";
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchurl
|
||||
, ocaml
|
||||
|
||||
, alcotest
|
||||
, eqaf
|
||||
, fmt
|
||||
|
@ -14,17 +12,16 @@ buildDunePackage rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/oklm-wsh/Callipyge/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0=";
|
||||
hash = "sha256-T/94a88xvK51TggjXecdKc9kyTE9aIyueIt5T24sZB0=";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [ fmt eqaf ];
|
||||
|
||||
# alcotest isn't available for OCaml < 4.08 due to fmt
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
|||
pname = "cstruct-async";
|
||||
inherit (cstruct) src version meta;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async_unix
|
||||
async
|
||||
|
|
|
@ -2,13 +2,14 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "cstruct";
|
||||
version = "6.1.1";
|
||||
version = "6.2.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-${version}.tbz";
|
||||
sha256 = "sha256-G3T5hw9qfuYAiSRZBxbdUzpyijyhC7GNqf6ovkZ/UY0=";
|
||||
hash = "sha256-mngHM5JYDoNJFI+jq0sbLpidydMNB0AbBMlrfGDwPmI=";
|
||||
};
|
||||
|
||||
buildInputs = [ fmt ];
|
||||
|
|
|
@ -9,6 +9,7 @@ else
|
|||
inherit (cstruct) version src meta;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ cstruct lwt ];
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ else
|
|||
inherit (cstruct) version src meta;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ cstruct ppxlib sexplib stdlib-shims ];
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ buildDunePackage rec {
|
|||
inherit (cstruct) version src meta;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest ];
|
||||
|
|
|
@ -9,6 +9,7 @@ else
|
|||
inherit (cstruct) version src meta;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ cstruct ];
|
||||
}
|
||||
|
|
|
@ -7,13 +7,13 @@ buildDunePackage rec {
|
|||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pveber";
|
||||
repo = "dbf";
|
||||
rev = "${version}";
|
||||
sha256 = "sha256-h1K5YDLbXGEJi/quKXvSR0gZ+WkBzut7AsVFv+Bm8/g=";
|
||||
rev = version;
|
||||
hash = "sha256-h1K5YDLbXGEJi/quKXvSR0gZ+WkBzut7AsVFv+Bm8/g=";
|
||||
};
|
||||
|
||||
buildInputs = [ ppx_cstruct ];
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
minimalOCamlVersion = "4.07";
|
||||
duneVersion = "3";
|
||||
pname = "eqaf";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-${version}.tbz";
|
||||
sha256 = "sha256-7A4oqUasaBf5XVhU8FqZYa46hAi7YQ55z60BubJV3+A=";
|
||||
hash = "sha256-7A4oqUasaBf5XVhU8FqZYa46hAi7YQ55z60BubJV3+A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cstruct ];
|
||||
|
|
|
@ -5,10 +5,11 @@ buildDunePackage rec {
|
|||
version = "3.0.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "sha256-DjbKdNkFa6YQgJDLmLsuvyrweb4/TNvqAiggcj/3hu4=";
|
||||
hash = "sha256-DjbKdNkFa6YQgJDLmLsuvyrweb4/TNvqAiggcj/3hu4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
|
|
@ -8,10 +8,11 @@ buildDunePackage rec {
|
|||
version = "4.1.0";
|
||||
|
||||
minimalOCamlVersion = "4.07";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-channel/releases/download/v${version}/mirage-channel-${version}.tbz";
|
||||
sha256 = "sha256-sBdoUdTd9ZeNcHK0IBGBeOYDDqULM7EYX+Pz2f2nIQA=";
|
||||
hash = "sha256-sBdoUdTd9ZeNcHK0IBGBeOYDDqULM7EYX+Pz2f2nIQA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cstruct logs lwt mirage-flow ];
|
||||
|
|
|
@ -7,10 +7,11 @@ buildDunePackage rec {
|
|||
version = "5.1.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-${version}.tbz";
|
||||
sha256 = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM=";
|
||||
hash = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ lwt mirage-flow ];
|
||||
|
|
|
@ -5,6 +5,8 @@ buildDunePackage {
|
|||
|
||||
inherit (mirage-console) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mirage-console
|
||||
cstruct
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
{ buildDunePackage, mirage-flow, fmt, ocaml_lwt, logs, cstruct, mirage-clock }:
|
||||
{ buildDunePackage, mirage-flow, fmt, lwt, logs, cstruct, mirage-clock }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-flow-combinators";
|
||||
|
||||
inherit (mirage-flow) version useDune2 src;
|
||||
inherit (mirage-flow) version src;
|
||||
|
||||
propagatedBuildInputs = [ ocaml_lwt logs cstruct mirage-clock mirage-flow ];
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ lwt logs cstruct mirage-clock mirage-flow ];
|
||||
|
||||
meta = mirage-flow.meta // {
|
||||
description = "Flow implementations and combinators for MirageOS specialized to lwt";
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
{ lib, buildDunePackage, fetchurl, cstruct, fmt, ocaml_lwt }:
|
||||
{ lib, buildDunePackage, fetchurl, cstruct, fmt, lwt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage-flow";
|
||||
version = "3.0.0";
|
||||
|
||||
useDune2 = true;
|
||||
minimumOCamlVersion = "4.05";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.05";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-flow/releases/download/v${version}/mirage-flow-v${version}.tbz";
|
||||
sha256 = "sha256-1wvabIXsJ0e+2IvE2V8mnSgQUDuSkT8IB75SkWlhOPw=";
|
||||
hash = "sha256-1wvabIXsJ0e+2IvE2V8mnSgQUDuSkT8IB75SkWlhOPw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cstruct fmt ocaml_lwt ];
|
||||
propagatedBuildInputs = [ cstruct fmt lwt ];
|
||||
|
||||
meta = {
|
||||
description = "Flow implementations and combinators for MirageOS";
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
buildDunePackage {
|
||||
pname = "mirage-flow-unix";
|
||||
|
||||
inherit (mirage-flow) version useDune2 src;
|
||||
inherit (mirage-flow) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
# Make tests compatible with alcotest 1.4.0
|
||||
postPatch = ''
|
||||
|
|
|
@ -6,10 +6,9 @@ buildDunePackage rec {
|
|||
pname = "mirage-random-test";
|
||||
version = "0.1.0";
|
||||
|
||||
minimumOCamlVersion = "4.06";
|
||||
minimalOCamlVersion = "4.06";
|
||||
|
||||
# due to cstruct
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
|
|
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
|||
pname = "mirage-random";
|
||||
version = "3.0.0";
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-random/releases/download/v${version}/mirage-random-v${version}.tbz";
|
||||
sha256 = "sha256-Sf4/KB1kMMwXI+yr5H/JuOmynYPNXwlk9dAA+gFAZs8=";
|
||||
|
|
|
@ -4,7 +4,7 @@ buildDunePackage rec {
|
|||
pname = "randomconv";
|
||||
version = "0.1.3";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hannesm/randomconv/releases/download/v${version}/randomconv-v${version}.tbz";
|
||||
|
|
|
@ -9,10 +9,11 @@ buildDunePackage rec {
|
|||
version = "6.0.1";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-vchan/releases/download/v${version}/vchan-${version}.tbz";
|
||||
sha256 = "sha256-5E7dITMVirYoxUkp8ZamRAolyhA6avXGJNAioxeBuV0=";
|
||||
hash = "sha256-5E7dITMVirYoxUkp8ZamRAolyhA6avXGJNAioxeBuV0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -15,6 +15,7 @@ buildDunePackage rec {
|
|||
version = "1.1";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-${version}.tbz";
|
||||
|
|
|
@ -5,6 +5,8 @@ buildDunePackage {
|
|||
|
||||
inherit (xenstore_transport) src version;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = [ xenstore_transport xenstore lwt ];
|
||||
|
||||
meta = xenstore_transport.meta // {
|
||||
|
|
|
@ -7,6 +7,7 @@ buildDunePackage rec {
|
|||
version = "2.2.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-xenstore/releases/download/v${version}/xenstore-${version}.tbz";
|
||||
|
|
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
|||
version = "1.3.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xapi-project";
|
||||
|
|
|
@ -22,8 +22,8 @@ ocamlPackages.buildDunePackage rec {
|
|||
'';
|
||||
|
||||
minimalOCamlVersion = "4.12";
|
||||
duneVersion = "3";
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue