nixpkgs/pkgs/development/ocaml-modules/mirage-net/default.nix
2022-05-25 13:03:45 +02:00

24 lines
643 B
Nix

{ lib, fetchurl, buildDunePackage
, cstruct, fmt, lwt, macaddr, mirage-device
}:
buildDunePackage rec {
pname = "mirage-net";
version = "4.0.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/mirage-net/releases/download/v${version}/mirage-net-v${version}.tbz";
sha256 = "sha256-Zo7/0Ye4GgqzJFCHDBXbuJ/5ETl/8ziolRgH4lDhlM4=";
};
propagatedBuildInputs = [ cstruct fmt lwt macaddr mirage-device ];
meta = {
description = "Network signatures for MirageOS";
homepage = "https://github.com/mirage/mirage-net";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}