Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

47 lines
831 B
Nix

{
lib,
buildDunePackage,
fetchurl,
ounit2,
lwt,
cstruct,
io-page,
mirage-flow,
xenstore,
xenstore_transport,
}:
buildDunePackage rec {
pname = "vchan";
version = "6.0.2";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/ocaml-vchan/releases/download/v${version}/vchan-${version}.tbz";
hash = "sha256-fki12lrWuIweGX/vSD2gbMX9qaM4KthiDZLeJYWcX+U=";
};
propagatedBuildInputs = [
lwt
cstruct
io-page
mirage-flow
xenstore
xenstore_transport
];
doCheck = true;
checkInputs = [
ounit2
];
meta = {
description = "Xen Vchan implementation";
homepage = "https://github.com/mirage/ocaml-vchan";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.sternenseemann ];
teams = [ lib.teams.xen ];
};
}