nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 647 B view raw
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 = { 26 description = "Xenstore protocol in pure OCaml"; 27 license = lib.licenses.lgpl21Only; 28 maintainers = [ lib.maintainers.sternenseemann ]; 29 teams = [ lib.teams.xen ]; 30 homepage = "https://github.com/mirage/ocaml-xenstore"; 31 }; 32}