diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-10-24 15:34:55 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-10-25 16:02:34 +0100 |
commit | b5f396e43ac1279324f1678aaf32f93cc18e07a9 (patch) | |
tree | 10a3d6f9d4bec846ea06286c31722feb6a66d1d0 /pkgs/development/ocaml-modules/mirage-net | |
parent | f20b89d1d412d7aac217ab81d20a81ceca3264e2 (diff) |
ocamlPackages.mirage-net: init at 3.0.1
Diffstat (limited to 'pkgs/development/ocaml-modules/mirage-net')
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-net/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-net/default.nix b/pkgs/development/ocaml-modules/mirage-net/default.nix new file mode 100644 index 0000000000000..a29727d7ee171 --- /dev/null +++ b/pkgs/development/ocaml-modules/mirage-net/default.nix @@ -0,0 +1,24 @@ +{ 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 ]; + }; +} |