mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
ocamlPackages.mirage-vnetif: init at 0.5.0
This commit is contained in:
parent
2446dfa5fc
commit
ba66c5b87d
40
pkgs/development/ocaml-modules/mirage-vnetif/default.nix
Normal file
40
pkgs/development/ocaml-modules/mirage-vnetif/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib, buildDunePackage, fetchurl
|
||||
, lwt, mirage-time, mirage-clock, mirage-net
|
||||
, cstruct, ipaddr, macaddr, mirage-profile
|
||||
, duration, logs
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage-vnetif";
|
||||
version = "0.5.0";
|
||||
|
||||
minimumOCamlVersion = "4.06";
|
||||
|
||||
# due to cstruct
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "0cpqwf51v2cpz41dfqxabf3bsabwyl6a0h0v2ncrn33q58i60m5q";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lwt
|
||||
mirage-net
|
||||
mirage-time
|
||||
mirage-clock
|
||||
cstruct
|
||||
ipaddr
|
||||
macaddr
|
||||
mirage-profile
|
||||
duration
|
||||
logs
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Virtual network interface and software switch for Mirage";
|
||||
homepage = "https://github.com/mirage/${pname}";
|
||||
license = licenses.isc;
|
||||
mantainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
@ -611,6 +611,8 @@ let
|
||||
|
||||
mirage-unix = callPackage ../development/ocaml-modules/mirage-unix { };
|
||||
|
||||
mirage-vnetif = callPackage ../development/ocaml-modules/mirage-vnetif { };
|
||||
|
||||
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };
|
||||
|
||||
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };
|
||||
|
Loading…
Reference in New Issue
Block a user