2023-03-08 16:32:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
, arp
|
|
|
|
, ethernet
|
|
|
|
, ipaddr
|
|
|
|
, tcpip
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-protocols";
|
2023-03-08 16:32:21 +00:00
|
|
|
version = "8.0.0";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
duneVersion = "3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-protocols/releases/download/v${version}/mirage-protocols-v${version}.tbz";
|
2023-03-08 16:32:21 +00:00
|
|
|
hash = "sha256-UDCR4Jq3tw9P/Ilw7T4+3+yi9Q7VFqnHhXeSCvg9dyw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-03-08 16:32:21 +00:00
|
|
|
propagatedBuildInputs = [ arp ethernet ipaddr tcpip ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "MirageOS signatures for network protocols";
|
|
|
|
homepage = "https://github.com/mirage/mirage-protocols";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|