Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / mirage-xen / default.nix
blob8f174f01ccb94e120e3aca0b0b5ad803a68c79a7
1 { lib
2 , buildDunePackage
3 , fetchurl
4 , cstruct
5 , lwt
6 , shared-memory-ring-lwt
7 , xenstore
8 , lwt-dllist
9 , mirage-profile
10 , mirage-runtime
11 , logs
12 , fmt
13 , bheap
14 , duration
15 , io-page
18 buildDunePackage rec {
19   pname = "mirage-xen";
20   version = "8.0.1";
22   src = fetchurl {
23     url = "https://github.com/mirage/mirage-xen/releases/download/v${version}/mirage-xen-${version}.tbz";
24     hash = "sha256-x8i2Kbz0EcifZK/lbDIFa9Kwtl1/xzbYV9h9E+EtGP4=";
25   };
27   minimalOCamlVersion = "4.08";
28   duneVersion = "3";
30   propagatedBuildInputs = [
31     cstruct
32     lwt
33     shared-memory-ring-lwt
34     xenstore
35     lwt-dllist
36     mirage-profile
37     mirage-runtime
38     io-page
39     logs
40     fmt
41     bheap
42     duration
43   ];
45   meta = with lib; {
46     description = "Xen core platform libraries for MirageOS";
47     license = licenses.isc;
48     maintainers = [ maintainers.sternenseemann ];
49     homepage = "https://github.com/mirage/mirage-xen";
50   };