depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-protocols/default.nix
Default email dae973cb59 Project import generated by Copybara.
GitOrigin-RevId: c90c4025bb6e0c4eaf438128a3b2640314b1c58d
2023-03-08 18:32:21 +02:00

31 lines
659 B
Nix

{ 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 ];
};
}