My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/ocaml-modules/wayland/default.nix

50 lines
871 B

{ lib
, buildDunePackage
, fetchurl
, xmlm
, lwt
, logs
, fmt
, cstruct
, cmdliner
, alcotest-lwt
}:
buildDunePackage rec {
pname = "wayland";
version = "1.0";
minimumOCamlVersion = "4.08";
useDune2 = true;
src = fetchurl {
url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-${version}.tbz";
sha256 = "bf8fd0057242d11f1c265c11cfa5de3c517ec0ad5994eae45e1efe3aac034510";
};
propagatedBuildInputs = [
lwt
logs
fmt
cstruct
];
buildInputs = [
cmdliner
xmlm
];
checkInputs = [
alcotest-lwt
];
doCheck = true;
meta = {
description = "Pure OCaml Wayland protocol library";
homepage = "https://github.com/talex5/ocaml-wayland";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.sternenseemann ];
mainProgram = "wayland-scanner-ocaml";
};
}