1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:25:11 +00:00
nixpkgs/pkgs/development/ocaml-modules/mirage-net/default.nix
2020-10-25 16:02:34 +01:00

25 lines
644 B
Nix

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