ocamlPackages.xenstore: init at 2.1.1
This commit is contained in:
parent
d91aad5c8f
commit
148ca8c904
2 changed files with 32 additions and 0 deletions
30
pkgs/development/ocaml-modules/xenstore/default.nix
Normal file
30
pkgs/development/ocaml-modules/xenstore/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildDunePackage, fetchurl
|
||||
, cstruct, ppx_cstruct, lwt, ounit
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "xenstore";
|
||||
version = "2.1.1";
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-xenstore/releases/download/${version}/xenstore-${version}.tbz";
|
||||
sha256 = "283814ea21adc345c4d59cfcb17b2f7c1185004ecaecc3871557c961874c84f5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ppx_cstruct ];
|
||||
propagatedBuildInputs = [ cstruct lwt ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ ounit ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Xenstore protocol in pure OCaml";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
homepage = "https://github.com/mirage/ocaml-xenstore";
|
||||
};
|
||||
}
|
|
@ -1091,6 +1091,8 @@ let
|
|||
|
||||
x509 = callPackage ../development/ocaml-modules/x509 { };
|
||||
|
||||
xenstore = callPackage ../development/ocaml-modules/xenstore { };
|
||||
|
||||
xmlm = callPackage ../development/ocaml-modules/xmlm { };
|
||||
|
||||
xml-light = callPackage ../development/ocaml-modules/xml-light { };
|
||||
|
|
Loading…
Reference in a new issue