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