nixpkgs-suyu/pkgs/development/ocaml-modules/mirage-net/default.nix
2023-03-23 06:04:09 +01:00

24 lines
643 B
Nix

{ lib, fetchurl, buildDunePackage
, cstruct, fmt, lwt, macaddr, mirage-device
}:
buildDunePackage rec {
pname = "mirage-net";
version = "4.0.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-net/releases/download/v${version}/mirage-net-v${version}.tbz";
hash = "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 ];
};
}