[RFC PATCH nixpkgs 8/9] ocamlPackages.wayland: 1.0 -> unstable-2022-05-07

Alyssa Ross
2022-09-28T17:01:57Z

From: Alyssa Ross <hi@alyssa.is>

Required by the latest version of wayland-proxy-virtwl.

Signed-off-by: Alyssa Ross <alyssa.ross@unikie.com>
---

I've opened an issue[1] to ask for a new tag.

I originally wrote this patch and the following one on a weekend to
help Puck out with her work, hence the non-Unikie author email
address.

[1]: https://github.com/talex5/ocaml-wayland/issues/32

pkgs/development/ocaml-modules/wayland/default.nix | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/pkgs/development/ocaml-modules/wayland/default.nix b/pkgs/development/ocaml-modules/wayland/default.nix
index 12c385eac72..8e24bfa7c15 100644
--- a/pkgs/development/ocaml-modules/wayland/default.nix
+++ b/pkgs/development/ocaml-modules/wayland/default.nix
@@ -1,6 +1,6 @@
{ lib
, buildDunePackage
-, fetchurl
+, fetchFromGitHub
, xmlm
, lwt
, logs
@@ -12,15 +12,17 @@

buildDunePackage rec {
pname = "wayland";
- version = "1.0";
+ version = "unstable-2022-05-07";

minimumOCamlVersion = "4.08";

useDune2 = true;

- src = fetchurl {
- url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-${version}.tbz";
- sha256 = "bf8fd0057242d11f1c265c11cfa5de3c517ec0ad5994eae45e1efe3aac034510";
+ src = fetchFromGitHub {
+ owner = "talex5";
+ repo = "ocaml-wayland";
+ rev = "1513420d35f3edb6ad2d9e1db0227e3cd9b9b76c";
+ sha256 = "sha256-UAomnvpIuf3V8vtxvGgxuTYoxsDxFDa4UXMbXYDkSIE=";
};

propagatedBuildInputs = [
--
2.37.1