ocamlPackages.shared-memory-ring: use Dune 3
This commit is contained in:
parent
c9f035d9c0
commit
fc8420f379
|
@ -2,19 +2,20 @@
|
||||||
, buildDunePackage
|
, buildDunePackage
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, ppx_cstruct
|
, ppx_cstruct
|
||||||
, mirage-profile
|
|
||||||
, cstruct
|
, cstruct
|
||||||
|
, lwt
|
||||||
, ounit
|
, ounit
|
||||||
, stdlib-shims
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "shared-memory-ring";
|
pname = "shared-memory-ring";
|
||||||
version = "3.1.1";
|
version = "3.1.1";
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/shared-memory-ring/releases/download/v${version}/shared-memory-ring-${version}.tbz";
|
url = "https://github.com/mirage/shared-memory-ring/releases/download/v${version}/shared-memory-ring-${version}.tbz";
|
||||||
sha256 = "sha256-KW8grij/OAnFkdUdRRZF21X39DvqayzkTWeRKwF8uoU=";
|
hash = "sha256-KW8grij/OAnFkdUdRRZF21X39DvqayzkTWeRKwF8uoU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -22,13 +23,12 @@ buildDunePackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
mirage-profile
|
|
||||||
cstruct
|
cstruct
|
||||||
stdlib-shims
|
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
lwt
|
||||||
ounit
|
ounit
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@ buildDunePackage {
|
||||||
|
|
||||||
inherit (shared-memory-ring) version src;
|
inherit (shared-memory-ring) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ppx_cstruct
|
ppx_cstruct
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue