mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
ocamlPackages.mirage-channel: 4.0.1 → 4.1.0
This commit is contained in:
parent
6c0aa0083c
commit
162c51e86f
@ -5,20 +5,15 @@
|
|||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "mirage-channel";
|
pname = "mirage-channel";
|
||||||
version = "4.0.1";
|
version = "4.1.0";
|
||||||
|
|
||||||
useDune2 = true;
|
minimalOCamlVersion = "4.07";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/mirage-channel/releases/download/v${version}/mirage-channel-v${version}.tbz";
|
url = "https://github.com/mirage/mirage-channel/releases/download/v${version}/mirage-channel-${version}.tbz";
|
||||||
sha256 = "0wmb2zhiyp8n78xgcspcsyd19bhcml3kyli2caw3778wc1gyvfpc";
|
sha256 = "sha256-sBdoUdTd9ZeNcHK0IBGBeOYDDqULM7EYX+Pz2f2nIQA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Make tests compatible with alcotest 1.4.0
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace test/test_channel.ml --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)'
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ cstruct logs lwt mirage-flow ];
|
propagatedBuildInputs = [ cstruct logs lwt mirage-flow ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user