depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-protocols/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
666 B
Nix

{ lib, buildDunePackage, fetchurl, duration, ipaddr, mirage-device, mirage-flow }:
buildDunePackage rec {
pname = "mirage-protocols";
version = "4.0.1";
src = fetchurl {
url = "https://github.com/mirage/mirage-protocols/releases/download/v${version}/mirage-protocols-v${version}.tbz";
sha256 = "188m8x6xdw1bllwrpa8f8bqbdqy20kjfk7q8p8jf8j0daf7kl3mi";
};
propagatedBuildInputs = [ duration ipaddr mirage-device mirage-flow ];
meta = {
description = "MirageOS signatures for network protocols";
homepage = "https://github.com/mirage/mirage-protocols";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}