2023-02-28 05:49:06 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
, arp
|
|
|
|
, ethernet
|
|
|
|
, ipaddr
|
|
|
|
, tcpip
|
|
|
|
}:
|
2020-04-08 06:30:24 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-protocols";
|
2023-02-28 05:49:06 +00:00
|
|
|
version = "8.0.0";
|
2020-11-26 10:40:39 +00:00
|
|
|
|
2023-02-28 05:49:06 +00:00
|
|
|
duneVersion = "3";
|
2020-04-08 06:30:24 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-protocols/releases/download/v${version}/mirage-protocols-v${version}.tbz";
|
2023-02-28 05:49:06 +00:00
|
|
|
hash = "sha256-UDCR4Jq3tw9P/Ilw7T4+3+yi9Q7VFqnHhXeSCvg9dyw=";
|
2020-04-08 06:30:24 +00:00
|
|
|
};
|
|
|
|
|
2023-02-28 05:49:06 +00:00
|
|
|
propagatedBuildInputs = [ arp ethernet ipaddr tcpip ];
|
2020-04-08 06:30:24 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "MirageOS signatures for network protocols";
|
|
|
|
homepage = "https://github.com/mirage/mirage-protocols";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|