1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 arp,
6 ethernet,
7 ipaddr,
8 tcpip,
9}:
10
11buildDunePackage rec {
12 pname = "mirage-protocols";
13 version = "8.0.0";
14
15 duneVersion = "3";
16
17 src = fetchurl {
18 url = "https://github.com/mirage/mirage-protocols/releases/download/v${version}/mirage-protocols-v${version}.tbz";
19 hash = "sha256-UDCR4Jq3tw9P/Ilw7T4+3+yi9Q7VFqnHhXeSCvg9dyw=";
20 };
21
22 propagatedBuildInputs = [
23 arp
24 ethernet
25 ipaddr
26 tcpip
27 ];
28
29 meta = {
30 description = "MirageOS signatures for network protocols";
31 homepage = "https://github.com/mirage/mirage-protocols";
32 license = lib.licenses.isc;
33 maintainers = [ lib.maintainers.vbgl ];
34 };
35}