ocamlPackages.mirage-nat: 2.2.5 → 3.0.1
This commit is contained in:
parent
0c9c29cfdb
commit
d82e054c13
@ -1,38 +1,29 @@
|
||||
{ lib, buildDunePackage, fetchurl
|
||||
, ipaddr, cstruct, lwt, logs, lru
|
||||
, tcpip, ethernet, stdlib-shims
|
||||
, ipaddr, cstruct, logs, lru
|
||||
, tcpip, ethernet
|
||||
, alcotest, mirage-clock-unix
|
||||
, ppxlib, ppx_deriving
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage-nat";
|
||||
version = "2.2.5";
|
||||
version = "3.0.1";
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
# due to cstruct
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "01xp0z4mywhawz7rxizi9ph342mqqwyfa5hqgvs8lhqzcym5d104";
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
hash = "sha256-wReySOMulGkrPD60XxpgMrUoHzY9hQ7TZzYQyJ3eiik=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
ppxlib
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ipaddr
|
||||
cstruct
|
||||
lwt
|
||||
logs
|
||||
lru
|
||||
tcpip
|
||||
ethernet
|
||||
stdlib-shims
|
||||
ppx_deriving
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
Loading…
Reference in New Issue
Block a user