git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.mirage-net: init at 3.0.1
commitb5f396e43ac1279324f1678aaf32f93cc18e07a9 authorVincent Laporte <Vincent.Laporte@gmail.com> dateSat 24 Oct 2020, 15:34 (6 years ago) parentf20b89d
2 files changed+26
pkgs/development/ocaml-modules/mirage-net/default.nix+24 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/mirage-net/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ lib, fetchurl, buildDunePackage
2+, cstruct, fmt, lwt, macaddr, mirage-device
3+}:
4+
5+buildDunePackage rec {
6+ pname = "mirage-net";
7+ version = "3.0.1";
8+
9+ useDune2 = true;
10+
11+ src = fetchurl {
12+ url = "https://github.com/mirage/mirage-net/releases/download/v${version}/mirage-net-v${version}.tbz";
13+ sha256 = "0yfvl0fgs7xy5i7kkparaa7a315a2h7kb1z24fmmnwnyaji57dg3";
14+ };
15+
16+ propagatedBuildInputs = [ cstruct fmt lwt macaddr mirage-device ];
17+
18+ meta = {
19+ description = "Network signatures for MirageOS";
20+ homepage = "https://github.com/mirage/mirage-net";
21+ license = lib.licenses.isc;
22+ maintainers = [ lib.maintainers.vbgl ];
23+ };
24+}
pkgs/top-level/ocaml-packages.nix+2
@@ -565,6 +565,8 @@ let
565565
566566 mirage-kv = callPackage ../development/ocaml-modules/mirage-kv { };
567567
568+ mirage-net = callPackage ../development/ocaml-modules/mirage-net { };
569+
568570 mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
569571
570572 mirage-random = callPackage ../development/ocaml-modules/mirage-random { };