2020-10-27 00:29:36 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, cstruct, fmt, lwt, macaddr, mirage-device
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-net";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "4.0.0";
|
2020-10-27 00:29:36 +00:00
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
duneVersion = "3";
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-net/releases/download/v${version}/mirage-net-v${version}.tbz";
|
2023-03-24 00:07:29 +00:00
|
|
|
hash = "sha256-Zo7/0Ye4GgqzJFCHDBXbuJ/5ETl/8ziolRgH4lDhlM4=";
|
2020-10-27 00:29:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cstruct fmt lwt macaddr mirage-device ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Network signatures for MirageOS";
|
|
|
|
homepage = "https://github.com/mirage/mirage-net";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|