Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 lwt, 6 ounit2, 7}: 8 9buildDunePackage rec { 10 pname = "xenstore"; 11 version = "2.3.0"; 12 13 src = fetchFromGitHub { 14 owner = "mirage"; 15 repo = "ocaml-xenstore"; 16 rev = "v${version}"; 17 hash = "sha256-LaynsbCE/+2QfbQCOLZi8nw1rqmZtgrwAov9cSxYZw8="; 18 }; 19 20 propagatedBuildInputs = [ lwt ]; 21 22 doCheck = true; 23 checkInputs = [ ounit2 ]; 24 25 meta = with lib; { 26 description = "Xenstore protocol in pure OCaml"; 27 license = licenses.lgpl21Only; 28 maintainers = [ maintainers.sternenseemann ]; 29 teams = [ teams.xen ]; 30 homepage = "https://github.com/mirage/ocaml-xenstore"; 31 }; 32}