mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
3fbc7b4cd2
* ocamlPackages.wayland: 0.2 -> 1.0 https://github.com/talex5/ocaml-wayland/releases/tag/v1.0 * wayland-proxy-virtwl: unstable-2021-04-15 -> unstable-2021-12-05
46 lines
912 B
Nix
46 lines
912 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, ocamlPackages
|
|
, buildPackages
|
|
}:
|
|
|
|
ocamlPackages.buildDunePackage rec {
|
|
pname = "wayland-proxy-virtwl";
|
|
version = "unstable-2021-12-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "talex5";
|
|
repo = pname;
|
|
rev = "d7f58d405514dd031f2f12e402c8c6a58e62a885";
|
|
sha256 = "0riwaqdlrx2gzkrb02v4zdl4ivpmz9g5w87lj3bhqs0l3s6c249s";
|
|
};
|
|
|
|
postPatch = ''
|
|
# no need to vendor
|
|
rm -r ocaml-wayland
|
|
'';
|
|
|
|
useDune2 = true;
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
nativeBuildInputs = [
|
|
buildPackages.ocamlPackages.ppx_cstruct
|
|
];
|
|
|
|
buildInputs = with ocamlPackages; [
|
|
wayland
|
|
cmdliner
|
|
logs
|
|
cstruct-lwt
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/talex5/wayland-virtwl-proxy";
|
|
description = "Proxy Wayland connections across a VM boundary";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
};
|
|
}
|