2020-10-24 13:34:55 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, cstruct, fmt, lwt, macaddr, mirage-device
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-net";
|
2022-03-24 16:53:02 +00:00
|
|
|
version = "4.0.0";
|
2020-10-24 13:34:55 +00:00
|
|
|
|
2023-03-23 05:04:09 +00:00
|
|
|
duneVersion = "3";
|
2020-10-24 13:34:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-net/releases/download/v${version}/mirage-net-v${version}.tbz";
|
2023-03-23 05:04:09 +00:00
|
|
|
hash = "sha256-Zo7/0Ye4GgqzJFCHDBXbuJ/5ETl/8ziolRgH4lDhlM4=";
|
2020-10-24 13:34:55 +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 ];
|
|
|
|
};
|
|
|
|
}
|