Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / ethernet / default.nix
blobc16534744d06c88c6347816136a58cec3d4e843f
1 { lib
2 , buildDunePackage
3 , fetchurl
4 , cstruct
5 , logs
6 , lwt
7 , macaddr
8 , mirage-net
9 }:
11 buildDunePackage rec {
12   pname = "ethernet";
13   version = "3.2.0";
15   minimalOCamlVersion = "4.08";
17   src = fetchurl {
18     url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
19     hash = "sha256-TB2nAhQiHZ1Dk6n/3i49s9HKNH92yNUl3xl94hByrAk=";
20   };
22   propagatedBuildInputs = [
23     cstruct
24     mirage-net
25     macaddr
26     lwt
27     logs
28   ];
30   meta = with lib; {
31     description = "OCaml Ethernet (IEEE 802.3) layer, used in MirageOS";
32     homepage = "https://github.com/mirage/ethernet";
33     license = licenses.isc;
34     maintainers = [ maintainers.sternenseemann ];
35   };