summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/mirage-protocols/default.nix
blob: 2c80507051e5f1ec3f9e4ecd19b0464f362a77e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildDunePackage
, fetchurl
, arp
, ethernet
, ipaddr
, tcpip
}:

buildDunePackage rec {
  pname = "mirage-protocols";
  version = "8.0.0";

  duneVersion = "3";

  src = fetchurl {
    url = "https://github.com/mirage/mirage-protocols/releases/download/v${version}/mirage-protocols-v${version}.tbz";
    hash = "sha256-UDCR4Jq3tw9P/Ilw7T4+3+yi9Q7VFqnHhXeSCvg9dyw=";
  };

  propagatedBuildInputs = [ arp ethernet ipaddr tcpip ];

  meta = {
    description = "MirageOS signatures for network protocols";
    homepage = "https://github.com/mirage/mirage-protocols";
    license = lib.licenses.isc;
    maintainers = [ lib.maintainers.vbgl ];
  };
}